Replaces the text from startIndex for length characters
with value.
| C# | Visual Basic | Visual C++ |
bool ReplaceString( string value, int startIndex, int length )
Function ReplaceString ( _ value As String, _ startIndex As Integer, _ length As Integer _ ) As Boolean
bool ReplaceString( String^ value, int startIndex, int length )
- value (String)
- The new string.
- startIndex (Int32)
- the starting position.
- length (Int32)
- The length (0 implies an insert).
True if successful, otherwise false.