Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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 at 16:30

2 Answers 2

up vote 2 down vote accepted

Using the Python parser:

"""4" """

or

"""4\""""

or

'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 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

 
discard

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.