A set of characters that begins with a non-null character and contains no commas, spaces, or quotes is a simple string. Simple strings do not need to be bounded by quotes. A simple string that is not bounded by quotes must be terminated by a space or a comma. The length of a simple string is the number of characters prior to the terminating space or comma. Enclosing a simple string in quotes does not change its length or value. The following examples show two ways to write the same simple string:
strings 'strings'
In each case, the length of the string is 7.
|
Copyright © 2013 CA.
All rights reserved.
|
|