Skip to content

Wonkey types string find

wonkey:wonkey.types.String.Find

Method Find:Int( substr:String,from:Int=0 )#

Finds a substring in the string.

If substr is not found, -1 is returned.

Parameters
substr substr The substring to search for.
from from The start index for the search.