--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 a 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 Space character and <CR> is Carriage Return character.

The output of above input will be ABEL,STEVE[CR] 012345678901234[CR] 9001[CR]

Page 28

Page 29
Image 29
Unitech Hand Held Scanner user manual Example