Scott,

Well that is a doosy, but maybe you should be looking at contains and not
FindNoCase. Because x = opva will always return true as will x=op

I suggest using <cfif StringToCompareAgainst contains
'OPPO,OPSNC,OPVAN,OPGEN,INP'>

Of you could do something like this

<cfswitch expression="#x#">
 <cfcase value="OPVAN">
 </cfcase>
 <cfcase value="OPPO,OPP">
 </cfcase>
</cfswitch>

Notice I threw an extra OPP to show multiple checks, to run same code!


Andrew Scott
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613  8676 4223
Mobile: 0404 998 273




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to