6.0

Table Of Contents
56
PlanetPress Talk Summary
3
Work with Characters
Work with Arrays and Color Arrays
Mid
function Extracts a specified number of characters from a string, starting at a
specific position.
Pos
function Returns the starting position of a specified string within another string,
or 0 if the specified string cannot be found.
Right
function Extracts the specified rightmost characters of a string.
Search
...
EndSearch
procedure This command structure allows a series of nested commands to be
repeated as long as a specific string of characters (the search string) is
found within another string (the target string). After each iteration, the
target string contains all the data between occurrences of the search
string, excluding the search string. Once the loop is over, target contains
the remaining characters of the original data.
ShowLeftRight
procedure Displays a string of characters, in inches, using a specified width.
StringReplace
function Replaces all occurrences of a pattern within a string, with another
pattern.
StringWidth
function Returns the physical display width, in inches, of a string.
Strip
function Removes all occurrences of a string within another string.
Trim
function Removes both leading and trailing spaces from a string.
TrimLeft
function Removes leading spaces from a string.
TrimRight
function Removes trailing spaces from a string.
UpperCase
function Convert a string to all upper case characters.
Name: Type: Description:
Char
function Returns the character whose ASCII value is specified.
Ord
function Returns the ASCII value of a character.
Name: Type: Description:
Get
function Returns an element of an array.
GetBlack
function Returns the value of the Black component of a color array.
GetCyan
function Returns the value of the Cyan component of a color array.
GetMagenta
function Returns the value of the Magenta component of a color array.
Name: Type: Description: