StringExtrasReplaceStringAtPosition Method |
replace a length of string in a string with another string
Namespace: ANDREICSLIB.ClassExtrasAssembly: ANDREICSLIB (in ANDREICSLIB.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static string ReplaceStringAtPosition(
string str,
string newstr,
int startpos,
int endpos
)
Public Shared Function ReplaceStringAtPosition (
str As String,
newstr As String,
startpos As Integer,
endpos As Integer
) As String
public:
static String^ ReplaceStringAtPosition(
String^ str,
String^ newstr,
int startpos,
int endpos
)
static member ReplaceStringAtPosition :
str : string *
newstr : string *
startpos : int *
endpos : int -> string
Parameters
- str
- Type: SystemString
- newstr
- Type: SystemString
- startpos
- Type: SystemInt32
- endpos
- Type: SystemInt32
Return Value
Type:
String
See Also