Returns the last string token found in the Text string by a call to the First, Next, Previous, or Last methods.
A Token is defined by the text between the delimiter characters specified in the Delimiters
Namespace: GParser
Delphi |
protected |
Property Value
Type: String
The following example uses the TGParser class to parse a string of numbers and add the numbers up (delimiters are spaces). Note that this example didn't have to use TokenCount, it could have used the return value from the Next method to determine if it is finished:
|