I have this string:
\"some text\\nandsomemore\"
I need to remove the \"\\n\" from it. I\'ve tried
\"some text\\nandsomemore
use chomp or strip functions from Ruby:
chomp
strip
"abcd\n".chomp => "abcd" "abcd\n".strip => "abcd"