PRELIMINARY INFORMATION - SUBJECT TO CHANGE
Returns the position of a substring in a string.

Syntax

Smartsite SXML CopyCode image Copy Code
integer string.indexof(string s, string find)
integer string.indexof(string s, string find, integer startIndex)

Parameters

Name Data Type Description
s String The input string.
find String The string to seek.
startIndex Integer The search starting position.

Return Value

Data Type Description
Integer The position.
SXML