tips:quotesinstrings
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
tips:quotesinstrings [2015/02/06 16:15] – created jt3 | tips:quotesinstrings [2015/02/06 16:19] (current) – [Apostrophes, Quotes, and Braces (Oh, my!)] jt3 | ||
---|---|---|---|
Line 9: | Line 9: | ||
===== Apostrophes, | ===== Apostrophes, | ||
- | Dealing with strings is usually pretty straightforward. | + | Dealing with strings is usually pretty straightforward. |
Okay, what does that mean? Basically, it means that if your string has apostrophes, | Okay, what does that mean? Basically, it means that if your string has apostrophes, | ||
| | ||
- | |||
- | everything is great until you hit that apostrophe in the word " | ||
- | So how do we prevent this? Easy. Just don't use the same identifier. | + | Everything is great until you hit that apostrophe in the word "John's". |
+ | So how do we prevent this? Easy. Just don't use the same identifier. | ||
+ | |||
+ | | ||
+ | |||
+ | This way, your text item can have quotes OR apostrophies, |
tips/quotesinstrings.1423239331.txt.gz · Last modified: 2015/02/06 16:15 by jt3