EasyManua.ls Logo

Unitech MS84XG

Unitech MS84XG
61 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
33
Both parameters of O-String mentioned above are numbers. But both parameters can be
specified as strings. If N is a string, it becomes a position and the meaning of O-String will be
"Output from position P to position N".
If P is defined as:
"ab...ik"
a, b, I, and k can be any character, the position will be evaluated as
-- Start from the first position of the original string and search character 'a'.
-- From the position next to 'a' in original data, search for 'b'.
-- ....
-- From the position next to 'i', search for k.
-- If above searches are all found, the result of the parameter will be the position where 'k' is
located.
If N is a string, the position evaluation of N is the same as P except that the searching position
is starting from P+1.
For both P and N, if string is defined, a value can be added to or subtracted from the position.
That following O-Strings:
"ab...ik"+M,
and
"ab...ik"-M,
are meaningful. M is an integer number.
Example:
Suppose the following is a message to be modified:
%B012345678901234^ABEL/STEVE L MGR ^90010129999999?
In this message:
"%" is start sentinel.
"012345678901234" is account number.
"^" is a separator
6. "ABEL" is surname.
"/" is a separator.
"STEVE" is first name.
"L" is initial.
"MGR" is title
"^" is a separator.
"9001" is expiration date.
"?" is end sentinel.
The output sequence desired is:
Surname, First Name [CR] Account Number [CR] Expiration Date [CR]
The formula input will be:
IN_ID,0,O-STR,"^"+1,"/"-1,",",O-STR,"/"+1,"<SP>"-1,"<CR>",O-STR,3,"^"-1,"<CR>",O-STR
,"^^"+1,4,"<CR>",Enter
Here <SP> is S
pace character and <CR> is Carriage Return character.

Table of Contents

Related product manuals