Pos

STATIC FUNCTION Pos ( String AS String, Index AS Integer ) AS Integer

Returns the position of the character of index Index in the string.

Example

DIM iInd AS Integer

FOR iInd = 1 TO 6
  PRINT String.Pos("Benoît", iInd); " ";
NEXT
PRINT