Strings¶
Write keys, paths, names, aliases, and property values inside double quotation marks.
Escape sequences¶
Use a backslash when a string must contain a quotation mark, backslash, or control character.
| Sequence | Value |
|---|---|
\" |
Double quotation mark |
\\ |
Backslash |
\n |
Line feed |
\r |
Carriage return |
\t |
Tab |
For example:
An unsupported escape sequence produces diagnostic US1003. A missing closing quotation mark produces US1002.
Property values¶
Property commands accept the new value as a string, even when the property represents a number or another data type.
The Umbraco property editor determines how the value is stored. Test property updates on representative content before applying them to a selection.