I'm trying to replace selected string values in an attribute table, eg. "Text1" for "Text2" (QGIS 1.8.0), patriculary for those rows with NULL values. I have been trying to use the replace expression (and any other that I have found) with no luck.
Are there any wildcard characters that I may be able to use in future?
Best Answer
You could try a case when expression:
Using the 'or' expression, you can add multiple columns with NULL-values to the code.
edit:
If you want to replace NULL, forget the replace-expression (it only works for strings and NULL is no string). Try this exact code: