Home > comp > gb > string > index 
 en fr de es it nl pt pt_BR mk sq ca hu cs tr ar fa id vi ko ja ru zh zh_TW eo
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