ReplaceAll function [message #229024] |
Thu, 05 April 2007 01:37 |
alaa_hg
Messages: 12 Registered: November 2006 Location: amman-jordan
|
Junior Member |
|
|
hi
i face this problem when i use the replaceAll function
example
String Str = new String ("(Old_String)") ;
i want to replace this String with the ()
with a new one "hi" for example
when i Write the code
Str = Str.replaceAll("(Old_String)","hi") ;
the result is (hi)
i want the result without the ()
i mean i want the result like this hi
can any one help me please
|
|
|
|
|