• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

replaceAll() from "/" to "\"

 
Ananth Chellathurai
Ranch Hand
Posts: 349
Eclipse IDE Hibernate Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have a string which has forward slashes, I need to replaceAll("/", "\\") which leads me to Exceptions.



Any help on how to do this will be appreciated.

Ananth Chellathurai
[ September 15, 2008: Message edited by: Ananth Chellathurai ]
 
Ananth Chellathurai
Ranch Hand
Posts: 349
Eclipse IDE Hibernate Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Figured out like this.



Ananth Chellathurai
 
Gamini Sirisena
Ranch Hand
Posts: 378
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you know why?

check here for an explanation
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic