String
|
A string is a sequence of characters that is enclosed by double quotes. A string can also contain double quotes, but the quotes must be immediately preceded by a backslash. A backslash is represented in a string as \\. Quotes are not required if a string begins with a letter, and contains only letters, numbers, dashes (-), and underscores (_).
For example, a string that defines a network interface such as eth0 does not require quotes since it contains only letters and numbers. However a string that defines an IP address contains periods and requires quotes- such as: "192.168.100.1".
|