System Namespace String Class
Inserts a specified instance of String at a specified index position in the given String.
[ VB ] <Serializable> Public Function Insert ( _ ByVal startIndex As Integer, _ ByVal value As String _ ) As String [ C# ] [ Serializable ] public string Insert ( int startIndex, string value ); [ C++ ] [ Serializable ] public: String* Insert ( int startIndex, String* value ); [ JScript ] public Serializable function Insert ( startIndex : int, value : String ) : String;
A new String equivalent to this instance but with value inserted at position startIndex.
If startIndex is equal to the length of this instance, value is appended to the end of this instance.
For example, the return value of "abc".Insert ( 2, "XYZ" ) is "abXYZc".
"abc".Insert ( 2, "XYZ" )
String Members Int32 Concat CopyTo Insert Join Remove Replace Split Substring Trim
© 2000-2010 Rey Nuñez All rights reserved.If you have any question, comment or suggestion about this site, please send us a note
You can help support asp.net.ph