Coldfusion String Manipulation
Posted on 2011-02-24
I'm not really a coldfusion guy - but I've inherited a bunch of coldfusion sites to maintain.
On one site - I'm going to be posting from a form to a function that needs to analyze the posted fields.
Essentially - what I want the function to do is determine "Are the first two characters numeric?"
So, if the post is 32aeoigoega, 54aoieghiaeg or 93aoeigea - it will validate as true...but ae135890135 would validate as false.
What would the script for that be like in CF? 500 points to anyone who can keep me from having to read a coldfusion reference manual.