home *** CD-ROM | disk | FTP | other *** search
- <!--- This example shows the use of REFindNoCase --->
- <HTML>
- <HEAD>
- <TITLE>
- REFindNoCase Example
- </TITLE>
- </HEAD>
-
- <BODY>
- <H3>REFindNoCase Example</H3>
-
- <P>REFindNoCase returns the position of the first occurrence of
- a regular expression in a string starting from the specified
- position. Returns 0 if no occurrences are found. REFindNoCase
- is case-insensitive.
- <P>REFindNoCase("a+c+", "ABCAACCDD"): <CFOUTPUT>#REFindNoCase("a+c+", "ABCAACCDD")#</CFOUTPUT>
- <P>REFindNoCase("a+c*", "ABCAACCDD"): <CFOUTPUT>#REFindNoCase("a+c*", "ABCAACCDD")#</CFOUTPUT>
- <P>REFindNoCase("[\?&]rep=", "report.cfm?rep=1234&u=5"): <CFOUTPUT>#REFindNoCase("[\?&]rep=", "report.cfm?rep=1234&u=5")#</CFOUTPUT>
-
- </BODY>
- </HTML>
-