recognizing & in a string

From: pooja (poojaiz_at_yahoo.com)
Date: 01/31/05


Date: 31 Jan 2005 03:40:19 -0800

how can one recognise & in java string when taken as command line
argument,as many special characters like |,>,<, & and * are never
accepted in the string and no exception ever handles them ,so I have
already made an exception in my code to handle these 5 characters ie
by using switch case,anyways the control does not recognises & and
still crashes,means does not gets into the catch statement while in
other 4 cases >,< ,|,* it does, how can this problem solved?



Relevant Pages

  • problems in recognising & in a string
    ... how can one recognise & in java string when taken as command line ... argument,as many special characters like |,>,<, & and * are never ... already made an exception in my code to handle these 5 characters ie ...
    (comp.lang.java.programmer)
  • Re: problems in recognising & in a string
    ... > how can one recognise & in java string when taken as command line ... > already made an exception in my code to handle these 5 characters ie ...
    (comp.lang.java.programmer)
  • Re: recognizing & in a string
    ... > how can one recognise & in java string when taken as command line ... > already made an exception in my code to handle these 5 characters ie ...
    (comp.lang.java.programmer)
  • Re: recognizing & in a string
    ... > how can one recognise & in java string when taken as command line ... > already made an exception in my code to handle these 5 characters ie ...
    (comp.lang.java.programmer)