String.Index (gb)
Static Function Index ( String As String, Byte As Integer ) As Integer
返回
Byte 指定的字节在字符串中的字符位置。
Examples
DIM iInd AS Integer
DIM sStr AS String
sStr = "Benoît"
FOR iInd = 1 TO Len(sStr)
PRINT String.Index(sStr, iInd); " ";
NEXT
PRINT