Пример
DIM iInd AS IntegerDIM sStr AS StringsStr = "Benoît"FOR iInd = 1 TO Len(sStr) PRINT String.Index(sStr, iInd); " ";NEXTPRINT1 2 3 4 5 5 6