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

Syntax

Smartsite SXML CopyCode image Copy Code
integer string.lastindexof(string s, string find)
integer string.lastindexof(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