Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to attribute pipe size and need to include a quotation mark in a text field. How do I include that in the field calculator. "4"" doesn't work.

share|improve this question
Are you looking for a single quotation (') or a double quotation (") ? and at the end or the start - or both? – dklassen May 9 '14 at 16:30
up vote 2 down vote accepted

Using the Python parser:

"""4" """




share|improve this answer
Option one works but leaves a space after the quote. Option two works, but why 3/4 quotes? 1/2 works for me. Option three also works, but why the \ as it works without that for me? – Chris W May 9 '14 at 17:07
  1. Python parser '4"' (single numeral double single)
  2. VB parser "4''" (double numeral single single double) - not really what you want, but a workaround from this question, where it is also just suggested to do it with a label expression rather than in data
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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