The following string parsing methods were first introduced in gmax 1.0 and are available in 3ds Max 5 and higher.
Returns true if the first character of the given string is whitespace (space, tab, or newline), false if not.
Trims all leading characters specified in trimChars from the given string and returns it. If trimChars is not specified, basic whitespace characters (space, tab, and newlines) are trimmed.
Trims all trailing characters specified in trimChars from the given string and returns it. If trimChars is not specified, basic whitespace characters (space, tab, and newlines) are trimmed.
Reads a token from the given stream and returns it as a string. Tokens are defined by a sequence of characters broken up by whitespace. Leading whitespace and one line "//" style comments are automatically skipped.
Same as readToken except it does not increment the file position.
Skips to first non-whitespace from the given stream's current file position.