company logo

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

Implementation details

  1. Get current analyzer position
    int32 TypedString  :: position (  )

    The function returns the current analyzer position.

  2. to list
  3. 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.

  4. to list