Skip to main content
Participating Frequently
June 11, 2008
Question

Does ListFind look for partial matches?

  • June 11, 2008
  • 3 replies
  • 380 views
My problem is I am having issues with it not finding partial matches. For example, the URL I am using is index.cfm?var=update. The page aborts as it should because it found "update" but didn't find "update" in the goodParamValues list. If I do something like index.cfm?var=update_di it should still fail because "update_di" contains "update", but "update_di" isn't a value in the goodParamValues list.

What is a better way to go about this?
    This topic has been closed for replies.

    3 replies

    Participating Frequently
    June 11, 2008
    You beat me to the reply. I was looking there, but realized by thought process was wrong.
    Participating Frequently
    June 11, 2008
    Ahh nevermind. I needed to check to see if the list value contained within the argument, not the other way around. I got it. :)