hello. plz tell me how to find < character in a string, if there is no space before it. suppose in d current string:
efherihgf<a erorifj
how to find < ? tanx alot
hello. plz tell me how to find < character in a string, if there is no space before it. suppose in d current string:
efherihgf<a erorifj
how to find < ? tanx alot
Have a look at the String.indexOf( ) method; if a '<' is found it's a breeze
to check whether or not the character to the left of it is a space.
Comment