cString: ToCharArray

ToCharArray

Creates and array of chars (Integers) from the specified string.



 Public Function ToCharArray(
	  ByRef s As String,
	  Optional ByRef startIndex As Variant,
	  Optional ByRef Length As Variant ) As Integer ( )

Parameters

s
[ByRef] String. The string to create the chars from.
startIndex
[ByRef] Optional. Variant. The start index in the string to begin converting to a char array. This is zero-based.
Length
[ByRef] Optional. Variant. The number of characters to convert to chars.

Return Values

Integer() -  An array containing the converted characters from the string.

Remarks

See Also

Project VBCorLib Overview Class cString Overview cString Properties cString Methods Remove Trim