String Variables
ZPL supports string variables and basic string operations. String variables can hold a maximum of 360 characters. String variables do not need to be declared, but can be created at any time using a defining assignment command such as:
newstring$ = "Here is the new string"
Note that string variables are distinguished from numeric variables by the presence of the $ character at the end of the string.
There are also string functions which can be used to extract text data, such as
title$ = $LENSNAME()
Note the function $LENSTITLE() starts with the $ character. This identifies the function as returning a string result.
Next: