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 
 Format Formats a string by replacing each argument with the formatted equivalent.  
 FormatArray Formats a string by replacing each argument with the formatted equivalent.  
 FormatArrayEx Formats a string by replacing each argument with the formatted equivalent.  
 FormatEx Formats a string by replacing each argument with the formatted equivalent.  
 FromCharArray Returns a string from the characters in an integer array.  
 IndexOfAny Returns the index of the first character found in the OfAny set of characters.  
 Insert Inserts a string into an existing string, returning the result.  
 IsNull Returns if the string is null.  
 Join Joins an array or subarray of strings into a single string, separated by the Delimiter.  
 LastIndexOfAny Returns the index of the first character found in the OfAny set of characters searching from the end of the string.  
 PadLeft Pads a strings left side.  
 PadRight Pads a strings right side.  
 Remove Removes a substring from the string, returning a new string with the gap filled with the remaining characters.  
 ToCharArray Creates and array of chars (Integers) from the specified string.  
 Trim Trims both the beginning and end of the string.  
 TrimEnd Trims the end of the string.  
 TrimStart Trims the beginning of the string.