in reply to How to remove ^M characters from a string?

sorrie...
after i type
print "$textvariable"

the output is -->
testing1^M
testing2^M
testing3^M

sorrie, did not seperate them juz now.

Originally posted as a Categorized Answer.

  • Comment on Re: take out ^m from a string which contents data from a multi-line textbox