7.6

Table Of Contents
LowerCase (function)
Convert a string to all lower case characters.
Syntax
lowercase( string ) string
Argument
string
String value you want to convert to lower case. The string may be a mix of upper and lower case characters.
Code Sample Example
&partname := lowercase( @(30,16,39) )
Mid (function)
Extracts a specified number of characters from a string, starting at a specific position.
Syntax
mid( string, start, length ) string value
Arguments
string
String value from which to extract characters.
start
Integer value specifying where the first character to extract is located.
length
Integer value specifying how many characters to extract, starting from number onwards.
Code Sample Example
This example extracts a bracket-delimited word from a sentence.
Example
define(&data,string,'This is a [bracketed] word')
define(&i,integer, pos('[', &data))
%Find the '[' character
define(&j,integer, pos(']', &data))
%Find the ']' character
if((&i>0) and (&j>&i))
©2010 Objectif Lune Inc - 545 -