I wanted to display the labels (which only 8 labels with the longer names)from one field. I've tried in multiple ways but wasn't works (NOT duplicated question)
I've tried this: if ("NAMEASCII"='Nikolajewsk na Armur', 'Nikolajewsk-\nna-Armur',NAMEASCII)
[I've tried CASE statement, in my case works better only with IF statement]
The result of this expression (green: is the result, red: I need to do the same for this as well):
Layer properties > Label > Rule:
BUT this is only one of them, there have 8 labels that I need to create the expression together (i don't know how to combine these 8 names only with one expression) just after the expression(above) Can anyone tell me how? I may need a correct expression... because qgis giving me a syntax error, obviously, the expression that I created is wrong.