Datalogic Scanning D8530 User Manual

Page of 160
PROGRAMMING FOR EXPERT USERS 
135
 
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.