Thread
:
Find and replace ( in a String
View Single Post
#
3
(
permalink
)
01-16-2008, 11:31 PM
gibsonrocker800
Senior Member
Join Date: Nov 2007
Location: New York
Posts: 143
There is a method in String, replace(CharSequence target, CharSequence replacement)
So, you could do
Code:
String newString = oldString.replace("(", "");
__________________
//Haha javac, can't see me now, can ya?
gibsonrocker800
View Public Profile
Send a private message to gibsonrocker800
Find all posts by gibsonrocker800