I want to find all items in a list that begin with an "I" and followed by digits only. Is there a global options in REFindNoCase function so that I can run it once and then loop throught the pos and len arrays?
<cfset sString = "I1, TITLE1, I22, TITLE22, I333, TITLE333, I4444, TITLE4444"> <cfset x = REFindNoCase( "I[0-9]+", sString, 1, TRUE )> <cfoutput>#ArrayLen( x.pos )#</cfoutput> -- This should return 4, right? Why Not? Thanks, Troy -- Troy Simpson | North Carolina State University NCSU Libraries | Campus Box 7111 | Raleigh | North Carolina ph.919.515.3855 | fax.919.513.3330 It is better to be hated for what you are than to be loved for what you are not. -- Andre Gide ______________________________________________________________________ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation � $99/Month � Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

