Lucee object methods reference

Object Method String.find

Finds the first occurrence of a substring in a string, from a specified start position. The search is case-sensitive.
String.find(string substring,[number start]):number




The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Default Value Description
substring string  Yes   String for which to search.
start number  No 1 Start position of search from the left.