Start New Discussion within our Software Development Community

can anybody tell me how ti skip blank spaces in java.Is there any function for that.Or we have to write code for that.


You have to write code for everything in Java - that's pretty much the point. What you write really depends on what you are trying to do, which you failed to adequately explain. What do you want to "skip blank spaces" in? What are you wanting to do with the "not blank spaces" remainder?

even using indexOf(" "); propably could help you out.
but what do you mean with "skip" read over them, erase them out of the String, ... ?

This article has been dead for over six months. Start a new discussion instead.