tips:quotesinstrings
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tips:quotesinstrings [2015/02/06 16:15] – [Apostrophes, Quotes, and Braces (Oh, my!)] 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 | + | Everything |
So how do we prevent this? Easy. Just don't use the same identifier. | So how do we prevent this? Easy. Just don't use the same identifier. | ||
Line 21: | Line 21: | ||
| | ||
+ | This way, your text item can have quotes OR apostrophies, |
tips/quotesinstrings.1423239346.txt.gz · Last modified: 2015/02/06 16:15 by jt3