All this regex stuff has me really confused. How could I just replace all the occurrences of "\\" in a string with "\n"?
Kob0724
20
Junior Poster in Training
Recommended Answers
Jump to PostString newString = oldString.replace("\\","\n");
All 4 Replies
Ezzaral
2,714
Posting Sage
Team Colleague
Featured Poster
Kob0724
20
Junior Poster in Training
Ezzaral
2,714
Posting Sage
Team Colleague
Featured Poster
Kob0724
20
Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.