Literals in expressions
If a string contains spaces
or starts with digit,
[3.1.5]
it must be put within quotation marks or apostrophes:
Example:
^
if
($name eq John){...}
John
is a string without spaces, so you don't have to put it within quotation marks or apostrophes.
^if($name eq "John Smith"){...}
This string contains spaces, and is therefore put within quotation marks or apostrophes.
Copyright © 19972021 Art. Lebedev Studio |
http://www.artlebedev.com
Last updated: 20.09.2007