Datalogic PowerScan D8530 Reference Manual page 147

Hide thumbs Also See for PowerScan D8530:
Table of Contents

Advertisement

PROGRAMMING FOR EXPERT USERS
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.
FindPosition (FPOS)
This function has the following syntax:
FPOS<source_string, search_string> position
This function searches for a defined substring within the "source_string" and returns
its position. If the substring is not found, the returned value is 1.
StringLength (LSTR)
This function has the following syntax:
LSTR<string> length
This function returns the length of the defined string.
StringConcatenation
This function has the following syntax:
string1 + string2 string
This function allows concatenating two different strings in order to get a single string
as result.
135

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents