Object Reference : Object View and Procedure Reference : String
Declare a string object.
The string command declares a string object and optionally assigns text.
string string_name[=assignment]
The string keyword should be followed by a valid name, and optionally, by an assignment. If there is no explicit assignment, the scalar will be initialized with a value of null.
string alpha
declares a string object named ALPHA containing no text.
You may also create a string that includes quotes:
string lunch = "Apple Tuna Cookie"
string dinner = """Chicken Marsala"" ""Beef Stew"" Hamburger"
creates the string objects LUNCH and DINNER, each containing the corresponding string literal. We have used the double quote character in the DINNER string as an escape character for double quotes.
See “Strings” and “String Objects” for a discussion of strings and string objects.