Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Java in General
Search Coderanch
Advance search
Google search
Register / Login
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Paul Clapham
Ron McLeod
Sheriffs:
Jeanne Boyarsky
Liutauras Vilda
Saloon Keepers:
Tim Holloway
Carey Brown
Roland Mueller
Piet Souris
Bartenders:
Forum:
Java in General
replace String input with parenthesis
Phaneendra Gugggilam
Greenhorn
Posts: 14
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
hi
i want to replace str with pipe symbol.
String
str = "(
test
)";
str=str.replaceAll(str);
System.out.println("output => "+str);
solution:
output => (|)
but i want solution as
output =>
Joanne Neal
Rancher
Posts: 3742
16
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
You've already asked this question
here
. Carry the discussion on in that
thread
.
Joanne
Don't get me started about those stupid
light bulbs
.
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
How to get data from bean to a string?
Replace all "." in a string
xslt -- disable-output-escaping="yes" question
Doubt in EL
String replaceAll
More...