LXE VX8 Reference Manual page 177

Hide thumbs Also See for VX8:
Table of Contents

Advertisement

FreeFloat WLinq
present.
A data editing format has an output format. The output format specifies the information that
should be generated when all the format's criterias are met. The output format is made up of
constant strings and/or string functions that extracts parts of the input data string. In the
examples below, the input data string is 12345ABCDE.
E-EQ-VX8RG-A
Example
Description
"ABC"
Constant string with
ordinary characters
Left( 3 )
Extracts the specified
number of characters from
the beginning of the string.
Right( 3 )
Extract the specified
number of characters from
the end of the string.
Mid( 3, 2 )
The first digit specifies the
character position and the
second specifies the
number of characters.
Extracts the specified
number of characters
starting at the specified
position.
Mid( "A", 5 )
This is another way of
specifying the starting
position. The substring's
position in the input data
string is used as the
starting position for the Mid
function.
Mid( 6 )
If only the start position is
specified, extracts all
character from the start
position to the end of the
string.
SubStr( "23", "CD" )
Scans for the first string
and extracts all characters
up to the second string. If
the first string isn't found,
the result is an empty
string.
EAN128Field( "02" )
Extracts the data of the
field 02 from an EAN128
code. If the field doesn't
exist, the expression results
in an empty string.
Delay( 1000 )
This is how you insert a
delay in the output data
format. The time is
specified in milliseconds.
Sleep( 1000 )
Sleep is an alias of Delay.
Input()
Represents the entire input
data string.
Date( "%Y-%m-%d"
Inserts the current date in
)
the specified format. The
supported date and time
formats:
%a Weekday
(abbrevieated)
%A Weekday
%b Name of month
((abbrevieated)
%B Name of month
%d Day in month (01 –
31)
Result
ABC
123
CDE
34
ABCDE
ABCDE
45AB
12345ABCDE
2001-01-23
VX8 Reference Guide
167

Advertisement

Table of Contents
loading

Table of Contents