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 Numeric

Argument Reference for the findNoCase function

substring

Required: Yes

String

Required: Yes

start

Required: No
Default: 1
Values:
  • 1

Examples sample code invoking the findNoCase function


Script Syntax

findNoCase("s", "cfdocs.org", 0)

Expected Result: 6


Fork me on GitHub