I have a super annoying raw data which is littered with ↵
and there's no way I can str.replace('↵','') is there? I tried it and didn't work, I couldn't find anything on this because when I search for ↵
it doesn't show up the ascii code.
Asked
Active
Viewed 2.8k times
17

user299709
- 4,922
- 10
- 56
- 88
-
is this a `/n` carriage return character coming back ? – bob.mazzo Mar 04 '16 at 23:58
-
2Try `str.replace('\n',' ')` – Elliott Frisch Mar 04 '16 at 23:58
-
1`console.log('a↵b'.replace('↵',''));` works fine for me. – trincot Mar 05 '16 at 00:00