REFind (reg_expression, string [, start] [, returnsubexpressions]) 


Performs a case-sensitive search for the position and length of the first occurrence of a regular expression (RE) in a string, starting from a specific position.


 <cfset exampleString = "This is an example that will show how to use the refind  function.">  <cfset exampleVar = Refind("show",exampleString, 1)>  <cfoutput>  The word show starts at position #exampleVar#  </cfoutput>  

Inside ColdFusion MX
Inside Coldfusion MX
ISBN: 0735713049
EAN: 2147483647
Year: 2005
Pages: 579 © 2008-2017.
If you may any questions please contact us: