Specifies the string to parse.
Setting this property resets the parser.
Namespace: GParser
Delphi |
public |
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: Delphi |
var |