cString: Insert

Insert

Inserts a string into an existing string, returning the result.



 Public Function Insert(
	  ByRef s As String,
	  ByVal Index As Long,
	  ByRef Value As String ) As String

Parameters

s
[ByRef] String. The string to insert to.
Index
[ByVal] Long. The starting position to insert the string.
Value
[ByRef] String. The string to be inserted.

Return Values

String -  A string containing the new string created from the insertion.

Remarks

Index is zero-based.

See Also

Project VBCorLib Overview Class cString Overview cString Properties cString Methods IndexOfAny IsNull