wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes checking if two character appear in a string Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic
Author

checking if two character appear in a string

joseph okon
Ranch Hand

Joined: Dec 07, 2004
Posts: 63
can sum1 write a code to check if two character appear in a string and throw an exception if two of the character appear
Joanne Neal
Rancher

Joined: Aug 05, 2005
Posts: 3429
    
  12
Yes. You can. If it doesn't work properly, post it here and tell us what the problem is and we'll see if we can help.


Joanne
Joanne Neal
Rancher

Joined: Aug 05, 2005
Posts: 3429
    
  12
Continued in this thread
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: checking if two character appear in a string
 
Similar Threads
Returning array from applet to JavaScript
Unicode Escapes
Another one
return 2 strings
client->server : data flow prob.