Find

"-->
 Find (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 case-sensitive.

Example

 <cfset exampleString = "This is my example string to Demonstrate the find function.">  <cfoutput>  The position at which Demonstrate starts is #find(exampleString, "Demonstrate")#  </cfoutput>  


Inside ColdFusion MX
Inside Coldfusion MX
ISBN: 0735713049
EAN: 2147483647
Year: 2005
Pages: 579

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net