I'm using QGIS 3.23-Bonn on a Win 7 machine. I'm trying to add the "inch" symbol to a label, but can't figure it out. I've tried using (Diameter) || '\' " but it doesn't work. However for length in feet this works (Shape_Length,0)||'\" || '\n' || Diameter. This displays two labels, stacked. One is in feet and one is in inches. All I need for another one is "inches".

  • If you only need the symbol, you enter ...||' "'. Somehow your description sounds more complex. – Erik Oct 11 '18 at 15:06

As @Erik pointed out, you only need to include a double quote character inside single quotes. Use the double pipe (concatenate) operator to append the double quote onto the end of your diameter value.

In the example below, I have DIAM || '"'. enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.