• Post Reply Bookmark Topic Watch Topic
  • New Topic

How do I replace a return character?

 
Patrick Ferguson
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello. This should be pretty simple, I just can't figure it out.

I am pulling a string from a database and writing it to a file. This string was stored with return characters in it and those in turn are resolving as return characters in my file which screws things up.

How do I take those return chars out?

Thanks,

Patrick
 
Patrick Ferguson
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, I figured it out. Just needed to do a replace all on \n and \r
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!