String.Pos (gb)

Static Function Pos ( String As String, Index As Integer ) As Integer

Retorna a posição do caracter de índice Index dentro da string.

Examples

DIM iInd AS Integer

FOR iInd = 1 TO 6
  PRINT String.Pos("Benoît", iInd); " ";
NEXT
PRINT
1 2 3 4 5 7