?
Solved

Isaplha()?

Posted on 2003-03-20
2
Medium Priority
?
318 Views
Last Modified: 2013-12-24
how do i do this?

where is this?
0
Comment
Question by:Jerry_Pang
2 Comments
 
LVL 9

Author Comment

by:Jerry_Pang
ID: 8173857
new bie to coldfusion.
i cant find it in reference.
if there was none, i was thinking of
isCustomFunction()

how to do this?
0
 
LVL 33

Accepted Solution

by:
hongjun earned 100 total points
ID: 8173872
There's no Isaplha function in CF 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>


hongjun
0

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question