User Manual

Table Of Contents
64
ID filter example 2
This example demonstrates the use of the
REMOVE and ADD commands.
Problem
Customer cards in the library system have
two characters that stand for the month and
year the card was issued. These must be
changed to four characters that stand for the
year.
Characters 7 and 8 stand for the month.
Characters 9 and 10 stand for the year.
Solution
The REMOVE command takes out the
month part of the ID code.
The ADD command inserts a string at a
specific point in the ID code.
Example 2
ID filter example 3
This example demonstrates the use of the
CONTAINS and REPLACE commands.
Problem
Customer cards in the library system have
changed format. The meaning of character
5 has changed.
If character 5 is R, it must be changed
to Z.
Solution
The CONTAINS command finds only
those ID codes with R as the fifth
character.
The REPLACE command changes R to
Z.
Example 3