String
String object. String objects may be used in standard EViews expressions in place of string literals.
String Declaration
To declare a string object, use the keyword string, followed by a name, an “=” sign and a text string.
String Views
display display table, graph, or spool in object window.
list list view display of the string.
sheet display the string.
String Procs
clearhist clear the contents of the history attribute.
copy creates a copy of the string.
olepush push updates to OLE linked objects in open applications.
setattr set the value of an object attribute.
String Data Members
String values
@attr("arg") string containing the value of the arg attribute, where the argument is specified as a quoted string.
@description string containing the String object’s description (if available).
@detailedtype string with the object type: “STRING”.
@displayname string containing the String object’s display name. If the String has no display name set, the name is returned.
@name string containing the String object’s name.
@remarks string containing the String object’s remarks (if available).
@type string with the object type: “STRING”.
@updatetime string representation of the time and date at which the String was last updated.
String Examples
You can declare a string and examine its contents:
string st="Hello world"
show st