4-48
A-63054 February 2004
Substring syntax
You can use a special syntax enclosed within square brackets to retain a
certain portion of the default value. The syntax immediately follows the value
you want to change.
The system can have two formats:
• comma delimiter: [START_POSITION,NUMBER_OF_CHARACTERS]
or
• semicolon delimiter: [START_POSITION;STOP_POSITION]
When START_POSITION is a positive value, the position is determined by
counting from the left side. When START_POSITION is a negative value, the
position is determined by counting from the right side.
The same is valid for STOP_POSITION in the semicolon format.
Negative NUMBER_OF_CHARACTERS values are not allowed. None of the
values can equal 0 (zero).
Following is an example of a Capture Software Default Value dialog box:
Test example
Capture the first five characters of the Batch name and the last four characters
of the Station ID in one field.
Solution
<BATCH_NAME>[1;5]<STATION_ID>[-4,4]
If the Batch name is INSUR035 and the Station ID is T0015, the result is
INSUR0015.
Summary of Contents for 8342693 - Capture Software - PC
Page 1: ...Capture Software User s Guide A 63054...
Page 3: ......