File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Strings Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Strings" Watch "Strings" New topic



Joined: Sep 14, 2002
Posts: 15
How should i determine whether a string is alphanumeric.If its not then return false
David O'Meara

Joined: Mar 06, 2001
Posts: 13459

You have neen asked in almost every one of your posts to change your name. Accounts that have invalid display names get deleted.
Your display must be your real name.
Your display name must be your first name, a space, then your last name.
You can find the Javaranch naming policy here:
You can edit your profile here:
David O'Meara

Joined: Mar 06, 2001
Posts: 13459

I'm sending this post to the Java in General (intermediate) forum.
Blake Minghelli
Ranch Hand

Joined: Sep 13, 2002
Posts: 331
Check out Character.isLetterOrDigit()

Blake Minghelli<br />SCWCD<br /> <br />"I'd put a quote here but I'm a non-conformist"
I agree. Here's the link:
subject: Strings
It's not a secret anymore!