Inside Coldfusion MX

"-->

FindNoCase (substring, string [,start])

Description

Finds the first occurrence of a substring in a string. An optional start point can be provided, and the search is non-case-sensitive.

Example

<cfset exampleString = "This is my example string to Demonstrate the findnocase function. As you will notice this search is case-insensitive."> <cfoutput> The position at which Demonstrate starts is #findnocase(exampleString, "demonstrate")# </cfoutput>

Категории