TypedString :: position - Current analyzer position
In order to analyze strings sequentially, the current analyzer position is stored. In order to restart analyzing the string from a certain point, the restart position could be retrieved from the string and reset later.
Return value: Position in collection ( int32 )
The position of an element in a collection is beginning with 0 for the first element.
Implementation overview
- Get current analyzer position
TypedString :: position (  ) - Set current analyzer position
TypedString :: position ( iPosition )
Implementation details
-
Get current analyzer position
int32 TypedString  :: position (  )
The function returns the current analyzer position.
to list
-
Set current analyzer position
int32 TypedString  :: position ( int32 iPosition )
The function allows changing the current analyzer position (e.g. in order to restart analyzing the string at a certain position). Changing the position will change the position in all parent strings.
- iPosition
- Position in collection
The position of an element in a collection is beginning with 0 for the first element.
to list
- iPosition
- Position in collection