cString

cString


Provides static functions to format and manipulate string values.


Remarks

This class cannot be directly instantiated. The methods are accessed through the class name itself.

 s = cString.Trim(s, "\")
 

See Also

Project VBCorLib Overview

Public:

Methods:

NameDescription
 CharCount 
 formatFormats a string by replacing each argument with the formatted equivalent. 
 FormatArrayFormats a string by replacing each argument with the formatted equivalent. 
 FormatArrayExFormats a string by replacing each argument with the formatted equivalent. 
 FormatExFormats a string by replacing each argument with the formatted equivalent. 
 FromCharArrayReturns a string from the characters in an integer array. 
 IndexOfAnyReturns the index of the first character found in the OfAny set of characters. 
 InsertInserts a string into an existing string, returning the result. 
 IsNullReturns if the string is null. 
 JoinJoins an array or subarray of strings into a single string, separated by the Delimiter
 LastIndexOfAnyReturns the index of the first character found in the OfAny set of characters searching from the end of the string. 
 PadLeftPads a strings left side. 
 PadRightPads a strings right side. 
 RemoveRemoves a substring from the string, returning a new string with the gap filled with the remaining characters. 
 ToCharArrayCreates and array of chars (Integers) from the specified string. 
 TrimTrims both the beginning and end of the string. 
 TrimEndTrims the end of the string. 
 TrimStartTrims the beginning of the string.