Gangadhara Rao Duvvarapu wrote:package special;
Gangadhara,
1. Please
UseCodeTags (←click). I've added them for you this time - see how much better it looks?
2. When you
do use code tags, please
DontWriteLongLines.
The easiest rule to remember is:
80 characters or less.
3. I'm still not quite sure what you want, since you haven't supplied a question.
What (for
you) is a "special" character?
However, I'd start out by having a look at the
Character class (java.lang.Character), because it has a
ton of methods for just this sort of stuff.
Winston