2.0
3.0
>
comp
>
gb
>
string
>
index
Previous
Next
Edit
Rename
Undo
Search
Administration
Documentation
Warning! This page is not translated.
See english version
String.Index (gb)
STATIC
FUNCTION
Index
(
String
AS
String
,
Byte
AS
Integer
)
AS
Integer
Returns the index of the character at position
Pos
in the string.
Example
DIM iInd AS Integer
DIM sStr AS String
sStr = "BenoƮt"
FOR iInd = 1 TO Len(sStr)
PRINT String.Index(sStr, iInd); " ";
NEXT
PRINT
1 2 3 4 5 5 6