This discussion is archived
1 2 Previous Next 20 Replies Latest reply: May 8, 2007 1:05 PM by 807606 RSS

How do I  throw an exception to check a character in a string?

807606 Newbie
Currently Being Moderated
How do I throw an exception to check a character in a string?

I'm trying to create an if statement where it can check in a string for certain characters. And when the character statements are met an exception has to be thrown.
So far I've had no luck creating the if statement.
Can someone help me out?
1 2 Previous Next