SIMPOL Documentation

parsetoken()

Description

This function simply returns a string representing the text starting at iPos until the next sSeparator or the end of the string and then increments the iPos value to point to the first character beyond the sSeparator or to the string length. This is a very memory efficient way of parsing through a string.

Prototype

parsetoken ( string sSrc, integer iPos, string sSeparator )

Parameters

ParameterDefault valueType nameDescription
sSrcNonestring
iPosNoneinteger
sSeparatorNonestring