Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: LeanerOriginally posted by: stonysmith
try this:
isAlphaNum('1:d_Country'.replace(" ",""))
That will drop out the spaces and then test for alpha+digits.. without changing the incoming data.
Tried that, still would not recognise simple strings as "E14". I even went to the extent of removing spaces in a prior filter, still things like "SW10XP" would still come up as false. Probably a bug on that method.
Finally got it to work by approaching this from the other side, isAplha('1:d_County'.replace(" ","")) work perfectly.
Thanks.