I would like to have my visible label text broken, which is too long.
I found some solution here:
How to split text attribute by characters in QGIS?
but applying the expression to my example:
left( "Text", strpos( "Text" ,'-'))
I am getting only B3-, whereas another part of the text is gone. I need the visible label like this:
B3-24F
DP &\PSP2
instead of
B3-24F DP&\PSP2
How can I do it?