
Programming for Expert Users
210
PowerScan® M8500
FindStringByStarting&EndingChar (FSTR)
This function has the following syntax:
FSTR<source_string, string_start, string_stop, mode>
string
This function searches for a substring having a defined starting character ("string_start") and
a defined ending character ("string_stop") within the "source_string". It returns the string
you searched for, or an empty one in case of failure.
If searching for a substring having characters already known, the "string_start" and
"string_stop" arguments must share the same value.
The "mode" argument allows managing the starting character ("string_start") and the
ending character ("string_stop"):
0 = include both starting and ending character
1 = include only starting character
2 = include only ending character
3 = discard both starting and ending character
FindStringByStartingChar&Len (FLSTR)
This function has the following syntax:
FLSTR<source_string, string_start, len, mode>
string
This function searches for a substring having a defined starting character ("string_start") and
a defined length ("len") within the "source_string". It returns the string you searched for, or
an empty one in case of failure.
If searching for a substring having a length already known, the "string_start" and
"string_stop" arguments must share the same number.
The "mode" argument allows managing the starting character ("string_start"):
0 = include starting character
1 = discard starting character
SelectString (SSTR)
This function has the following syntax:
SSTR<source_string, pos_start, pos_end>
string
It extracts a substring whose characters are between "pos_start" and "pos_end" from the
"source_string".
If "pos_end" is longer than the "source_string" length, no error will be generated since the
exceeding characters are ignored.
The first character of every string is in position 1.
CONVENTIONS
DESCRIPTION
+
Concatenates two strings or fields.
-
Deletes a substring or a field from the original string.
#DS
Returns the string which has been decoded by the library.
#F<n>
Returns the result of a format which has been previously defined. The
<n> value is in the range 1-4.
Summary of Contents for PowerScan M8500
Page 17: ...Preface 14 PowerScan M8500 NOTES...
Page 28: ...Installation Product Reference Guide 25 WEDGE Connection PEN Emulation Connection...
Page 55: ...PowerScan M8500 Setup 52 PowerScan M8500 NOTES...
Page 137: ...Configuration Using Code Symbols 134 PowerScan M8500 NOTES...
Page 157: ...Advanced Data Formatting 154 PowerScan M8500 NOTES...
Page 211: ...Host Configuration Strings 208 PowerScan M8500 NOTES...
Page 219: ...Sample Barcodes 216 PowerScan M8500 QR PDF417 DataMatrix Normal DataMatrix Inverse PDF417...
Page 225: ...Hex Numeric Table 222 PowerScan M8500 AUTOSCAN PATTERN CODE s...
Page 226: ...Product Reference Guide 223 NOTES...
Page 227: ...Hex Numeric Table 224 PowerScan M8500 NOTES...
Page 232: ......