I actually use the Field Calculator "replace" formula that works very well but I have some '\' caracters in my field that I cannot replace. ex : '\naninana' and I want to keep only 'naninana'.
Asked
Active
Viewed 1,576 times
4
-
1shouldn't "\n" be a line break? – Elio Diaz Nov 27 '17 at 19:42
1 Answers
8
If you want to remove a \ in a field, you can escape it as in:
replace(fieldname, '\\', '')
Or if you wanted to remove \n:
replace(fieldname, '\\n', '')
larsks
- 1,256
- 1
- 11
- 24