[Name,M{,N}] Insert Substring - CAB A+ Series Programming Manual

Hide thumbs Also See for A+ Series:
Table of Contents

Advertisement

Special Functions
365
[name,m{,n}]
Extracts data from an existing data string of an other previously defined field. Parts of field contents can
be used for further operations in another field.
Syntax:
Example:
This example uses the previously defined field with the field name „ORIGINAL" and cuts from the
content "cab GERMANY" 4 characters, starting at character number 8.
The result is shown below.
cab Produkttechnik GmbH & Co KG
insert substring
[name,m{,n}]
name
= previously defined field name
m
= position of the first character to be copied
n
= amount of characters to copy
m and n could be also variables from prior calculations
m m
J
S l1;0,0,68,71,100
T:ORIGINAL;10,20,0,3,8;cab GERMANY
T:CUTOFF;10,40,0,3,8;[ORIGINAL,8,4]
A 1
365
365

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mach 4PxXd4

Table of Contents