llSubStringIndex
function ll.SubStringIndex(Text: string, Sequence: string): numberReturns an integer that is the index in Text where string pattern Sequence first appears. Returns -1 if not found.
Parameters
-
Text(string) -
Sequence(string)
Examples
Section titled “Examples”Add example usage here showing SLua/Luau syntax with ll.SubStringIndex().
Add additional notes, caveats, or tips specific to using this function in SLua/Luau.
See Also
Section titled “See Also”- Related functions can be linked here
- LSL equivalent: llSubStringIndex