User's Manual
Table Of Contents
- C-Series User Guide
- Safety information
- Regulatory compliance
- Overview
- Software installation
- Typical workflows
- Startup and shutdown
- Installing system security updates
- Managing the 3M™ SelfCheck™ System
- Home page
- Basic administration
- Advanced administration
- General maintenance
- Solving problems
- Obtaining service and supplies
- Appendix A: Email notification messages
48 ⎟
REMOVE command
Syntax: REMOVE <string> or REMOVE <number> [AT <number>]
The REMOVE action removes a string or a range of characters from the ID
code.
If a string is specified, the SelfCheck system searches the ID code and
removes all occurrences of the string.
If one number is specified, it is the number of characters to remove from
the end of the ID code.
If two numbers are specified, the first number is the number of
characters to remove, and the second number is the first character
position to remove. The first character in the ID code is number 1.
REPLACE command
Syntax: REPLACE <string> WITH <string>
The REPLACE action searches the ID code and replaces all occurrences of
the first string with the second string.
Note that the search is not recursive, so the first (search) string may be a
subset of the second (replacement) string. For example, “X may be replaced
with “XYZ."
ID filter example 1
This example demonstrates the use of the
LENGTH and PAD commands.
Problem
Items in the library system have two ID code
formats.
Older IDs are 7 characters long.
Newer IDs are 10 characters long.
Solution
The older IDs must be padded with ‘000’ so
that all IDs are 10 characters.
The LENGTH command ignores all IDs
that are not of the specified length.
The PAD command inserts characters at
the start or end until the ID is the
specified length.
Example 1