This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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: 3456
    
  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: 3456
    
  12
Continued in this thread
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: checking if two character appear in a string