7.6

Table Of Contents
IsPageEmpty (function)
Returns False if the current data page contains data, or True if it does not.
Syntax
ispageempty() Boolean
Left (function)
Extracts the specified leftmost characters of a string.
Syntax
left( string, number ) string value
Arguments
string
String value from which to extract characters.
number
Integer value specifying how many characters to extract from the beginning of the string.
Code Sample Example
This example prints a string up to a certain position.
Example
define(&data,string,'This is a~sample string')
%Define string
define(&x,integer, pos('~', &data))
%Find tilde
%Print the string up to the tilde character, if found
if(&x>1)
show(left(&data,&x-1))
endif()
Length (function)
Returns the length of a string, or the number of elements in an array.
Syntax
length( element ) integer value
©2010 Objectif Lune Inc - 493 -