How would I populate a text field with double quotes using the Field Calculator. For example, I want to populate a field as 24". Is there a way to populate fields using the field calculator with this value? If I use "24"", I get an error because of the two double quotes.
Change the parser to Python using the radio button at the top of the field calculator window, then use single-quotes to enclose your text:
Python allows you to use either single- or double-quotes to enclose a string. If you wanted to use an apostrophe in your text field, you would use double-quotes instead:
with python, you can use either " " or ' ' to identify your text
so you could do it like this :
but the best method if you don't want to play with \' and \" when you have both ' and " in your string, is to use the triple """
""" 24's" """