Language Reference Guide : System Classes : StringObject Class
 
Share this page          
StringObject Class
The StringObject class contains a text string of any length that you can manipulate in your program. You can display and edit string objects in multiline entry fields. For storage, you can either place string objects in the database or in operating system files.
This class is useful when you have a text string that might be larger than the 2000-byte limit of varchar variables. For example, many system objects use string objects to store text associated with the object (such as the script for a frame) that can be too large for a varchar variable. For text that is always less than 2000 bytes, a varchar variable is more efficient. Some attributes and method parameters use nvarchars.
StringObjects should not be used to store non-printable characters such as NULLs or control characters. However, you can include white space characters such as spaces, tabs, newlines, and punctuation marks.
For information about manipulating string objects, see the Programming Guide.
Inherits From
Object Class
Inherited By
None
Attributes
AllocateBufferExtra
AllocatedBufferSize
DBHandle
ErrorStatus
FileEncoding
FileHandle
Length
Value
Methods
AppendToFile
ConcatString
ConcatVarchar
ConvertFromBinary
DeleteFromDB
ExpandParm
ExtractString
InsertIntoDB
Join
LeftTruncate
LoadLong
LocateString
RightTruncate
Split
SubString
UpdateInDB
WriteToFile