[Qgis-user] replace '\' problem

Marcos marcos.ummus at gmail.com
Wed Jun 30 06:45:05 PDT 2021


Thank you for your comment, David,

I will try to make myself clear: when I wrote the snippet "*replace("field",
'\', '.')*" at the field calculator, it doesn't return anything, that is,
the fields are not replaced.
Does anyone have any idea why?

Thanks to the whole community, I learn a lot from you!

David Strip <qgis-user at stripfamily.net> escreveu no dia terça, 29/06/2021
à(s) 23:50:

> On 6/29/2021 5:28 PM, Marcos wrote:
>
> I was trying to replace the '\' using the *replace () *function, but it
> didn´t work anyway.
> It's probably a standard/default problem or a 'reserved (not a) word'.
>
> Just a guess, but \ is commonly used to indicate special characters. eg,
> \n = newline.
> Try using \\
>


-- 
Marcos Eichemberger Ummus
Tel.: +55 (11) 9-4860-8441
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20210630/0a0cda19/attachment.html>


More information about the Qgis-user mailing list