TclString(3)

CLASS
tcl.lang.TclString -- This class is used to create and modify Tcl string objects.

EXTENDS
tcl.lang.InternalRep

METHODS

static TclObject newInstance(String strValue)

static void append(TclObject tobj, String string)

ARGUMENTS
TclObject to append a string to. If the internal representation of tobj is not TclString, the method converts it to TclString. Value of internal string in newly created TclObject. String to append to the end of the string in the internal representation of tobj.

DESCRIPTION

newInstance
    The newInstance method creates and returns a new TclString whose internal representation contains the string strValue.

append
    The append method concatenates string to the end of the String internally to tobj.

EQUIVALENT C FUNCTIONS
Tcl_NewStringObj, Tcl_AppendToObj

SEE ALSO
InternalRep, TclObject, TclList, TclIndex, TclDouble, TclInteger, TclBoolean, ReflectObject

KEYWORDS
internal representation, object, object type, string, append