REFind (reg_expression, string [, start] [, returnsubexpressions]) DescriptionPerforms 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. Example<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> |