home *** CD-ROM | disk | FTP | other *** search
/ Australian Personal Computer 1999 April / APC443.iso / features / grpware / coldfus / coldfusi.exe / data1.cab / Documentation / snippets / refindnocase.cfm < prev    next >
Encoding:
Text File  |  1998-10-08  |  730 b   |  22 lines

  1. <!--- This example shows the use of REFindNoCase --->
  2. <HTML>
  3. <HEAD>
  4. <TITLE>
  5. REFindNoCase Example
  6. </TITLE>
  7. </HEAD>
  8.  
  9. <BODY>
  10. <H3>REFindNoCase Example</H3>
  11.  
  12. <P>REFindNoCase returns the position of the first occurrence of
  13. a regular expression in a string starting from the specified
  14. position.  Returns 0 if no occurrences are found. REFindNoCase
  15. is case-insensitive.
  16. <P>REFindNoCase("a+c+", "ABCAACCDD"):    <CFOUTPUT>#REFindNoCase("a+c+", "ABCAACCDD")#</CFOUTPUT>
  17. <P>REFindNoCase("a+c*", "ABCAACCDD"):    <CFOUTPUT>#REFindNoCase("a+c*", "ABCAACCDD")#</CFOUTPUT>
  18. <P>REFindNoCase("[\?&]rep=", "report.cfm?rep=1234&u=5"):    <CFOUTPUT>#REFindNoCase("[\?&]rep=", "report.cfm?rep=1234&u=5")#</CFOUTPUT>
  19.  
  20. </BODY>
  21. </HTML>       
  22.