Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q3000 Is there an IsAlphanumeric function in ColdFusion?

You are here: irt.org | FAQ | ColdFusion | Q3000 [ previous next ]

No, but you can use regular expressions to check this fairly easily.

<cfif REFind("[^A-Za-z0-9]",mystring,1) gt 0>
 This string contains characters that are not alphanumeric.
<cfelse>
 This string contains only alphanumeric characters.
</cfif>

Feedback on 'Q3000 Is there an IsAlphanumeric function in ColdFusion?'

©2018 Martin Webb