This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
Hey guys. first post. im stuck and i cant figure out how to remove dashes out of an input string that MAY or MAY NOT have dashes. Would i be looking to use char or what? Also another thing is im trying to not use arrays.
Seeing as how there's no "remove()" method, consider replacing. Again--with what? Your answer should be "nothing". Again--what's String-eze for nothing?
john mccain
Greenhorn
Joined: Jan 03, 2010
Posts: 6
posted
0
David Newton wrote:Seeing as how there's no "remove()" method, consider replacing. Again--with what? Your answer should be "nothing". Again--what's String-eze for nothing?
its "". lol i got that. i am now making a if-else statement to test if it has dashes, remove dashes. else do nothing....