Was this helpful?
StringObject Methods
Method
Return Value
Description
Inherited From
AppendToFile
([filename =
varchar(256)])
integer
Appends the string object to the end of a file
Defined
ConcatString
(string =
StringObject)
StringObject
Concatenates a string to the end of the string object
Defined
ConcatVarchar
(text =
varchar)
StringObject
Concatenates text to the end of the string object
Defined
ConvertFromBinary
(binary
= LongByteObject,
format = integer [,base64_wrap = integer])
integer
Loads the object from the binary contents of a LongByteObject
Defined
DeleteFromDB()
integer
Deletes the string object specified in the DBHandle attribute from the database
Defined
Duplicate()
StringObject
Makes a duplicate of the object, placing a reference to the new object in a reference variable
Object
ExpandParm(scope = Scope)
StringObject
Returns a string object obtained from the target string object by expanding parameters
Defined
ExtractString
(
[startposition = integer]
[,length = integer])
StringObject
Returns a section of named string, starting with startposition and extending length characters, creating a new StringObject as output
Defined
GetAttribute
(
attributename = byref(variable)
{,attributename = byref(variable)})
integer
Gets the values of any number of attributes for the object
Object
InsertIntoDB
(
[tablename = varchar(256)])
integer
Writes a string object into the specified database, using tablename as the base for storage and handle
Defined
IsA
(class =
classname)
integer
Returns TRUE if the object is of the same class as, or one of the subclasses of, the class specified by classname
Object
Join
(strings =
array of StringObject
[, delimiter = varchar(256)])
StringObject
Concatenates an array of StringObjects to the cleared host StringObject and returns that StringObject
Defined
LeftTruncate
(endposition =
integer)
none
Truncates the left part of the string, up to and including endposition
Defined
LoadLong(object = Object)
integer
Loads the object with the data contained within a LongVcharObject or LongByteObject
Defined
LocateString
(match =
varchar(256)
[,startposition = integer] [,ignorecase = integer] [,backwards = integer])
integer
Finds the first occurrence of match
Defined
RightTruncate
(
[startposition = integer])
none
Sets text to null on the right, starting at the character position startposition
Defined
SetAttribute
(
attributename = value
{,attributename = value})
integer
Sets any number of attributes for the object
Object
Split
(delimiter =
varchar(256)
[, ignorecase = integer]
[, backwards = integer]
[, exactrows = integer]
[, minrows = integer]
[, includedelimiter = integer]
[, preserveleadingwhitespace = integer])
array of StringObject
Splits the StringObject contents into an array of StringObjects and returns them
Defined
SubString
(
[startposition = integer]
[,length = integer])
varchar
Returns a section of the StringObject, starting at startposition and extending length characters into a varchar variable
Defined
UpdateInDB()
integer
Replaces a string object in the database
Defined
WriteToFile
(
[filename = varchar(256)])
integer
Writes a string object to file
Defined
 
Last modified date: 06/25/2024