aspose file tools*
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
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: 3561
    
  15
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: 3561
    
  15
Continued in this thread
 
wood burning stoves
 
subject: checking if two character appear in a string