String mid, B.3.4 string mid – Nematron Pointe Controller User Manual
Page 311

Pointe Controller User Guide
Appendix B: Flow Chart Command Reference
309
B.3.4 String Mid
This command can be selected from the
String commands
list.
When used in a Flow Chart, the String Mid command extracts a sub-string, of a
specified length and starting from a specified position, from a given string.
Parameters for this command include:
Destination String – The String tag to which the extracted sub-string
will be written.
To configure the Destination String parameter, click the
button to
open a standard
Select String Tag
dialog.
NOTE: If the defined length of the Destination String is not long enough
to receive the result of the command, then the output will be truncated.
No error will be generated.
Source String – The string from which the sub-string will be extracted.
The value of Source String may be a String tag, a literal string enclosed in
single quotes (‘ ’), or some other logical expression that is evaluated every
time the block is executed.
To configure the Source String parameter, click the
button to open a
standard
Build String Argument
dialog.
NOTE: Source String is not modified by the execution of this command.
Number Chars – The length of the sub-string, in characters, to be
extracted.
The value of Number Chars may be an Input/Memory/Output tag, a literal
numeric value, or some other logical expression that is evaluated every
time the block is executed.
To configure the Number Chars parameter, click the
button to open a
standard
Build Argument
dialog.