FindNoCase

Finds the first occurrence of a substring in a string, from a specified start position. If substring is not in string, returns zero. The search is case-insensitive.

FindNoCase( substring, string [, start ] )

Returns: Number

Argument Description Default
substring
string, required

String for which to search.

string
string, required

String in which to search.

start
number, optional

Start position of search.

1

Examples

writeOutput(findNoCase("Tree","Grow the tree, Save the world"));//10
	//Member function
	str="I love lucee";
	writeOutput(str.find('lucee'));//8

See also