String.TrimLeft

string String.TrimLeft ( 

string SourceString,

string CharactersToTrim = nil )

Example 1

trimmed = String.TrimLeft("12324", "21");

Removes the characters in the string "21" from the source string "12324" and stores the resulting string "324" in the variable "trimmed."

Example 2

trimmed_space = String.TrimLeft("     Bob", nil);

Removes the beginning spaces from the source string and returns the string "Bob" in the variable "trimmed_space."

See also:  Related Actions