GetStringToken2

Description

Returns a specific token from a string separated by the given delimiter, for example a string containing "first:second:third" has three tokens delimited by ":". Similar to GetStringToken except that this command accepts only a single character as the delimiter and recognises empty fields. For example "first:second::fourth" has four tokens with the third being an empty string. In tier 2 the returned string must be deleted when you are done with it. You can use CountStringTokens2 to count the number of tokens in the string.

Definition

string GetStringToken2( str, delimiter, token )

Parameters