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'.
-
1shouldn't "\n" be a line break?– Elio DiazNov 27, 2017 at 19:42
1 Answer
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', '')