Removing unwanted spaces from data (trim command), Ascii special character codes, Ascii – Wasp Barcode WaspLabeler +2D User Manual User Manual

Page 139: Special character codes

Advertising
background image

135

Wasp Labeler User Manual

Removing Unwanted Spaces from Data (TRIM Command)


There may be instances where data source has spaces at the end or beginning of data. You can use the
"TRIM" function to remove unwanted spaces from the final output on your label. The formatting
commands for removing spaces are provided below:

• [LEFT:3] - This command returns the first 3 characters from the input.

• [LTRIM LEFT:3] ------> same as above, but before it performs a LTRIM on the input, then the

LEFT:3 will be applied to the result

• [RTRIM LEFT:3] ------> same as above, but before it performs a RTRIM on the input, then the

LEFT:3 will be applied to the result

• [TRIM LEFT:3] ------> same as above, but before it performs a TRIM on the input, then the

LEFT:3 will be applied to the result

• [RIGHT:3] ------> This command returns the last 3 characters from the input.

• [LTRIM RIGHT:3] ------> same as above, but before it performs a LTRIM on the input, then the

RIGHT:3 will be applied to the result

• [RTRIM RIGHT:3] ------> same as above, but before it performs a RTRIM on the input, then the

RIGHT:3 will be applied to the result

• [TRIM RIGHT:3] ------> same as above, but before it performs a TRIM on the input, then the

RIGHT:3 will be applied to the result

• [MID:2,3] ------> This command returns the substring starting at position 2 returning the next 3

chars that appear

• [LTRIM MID:2,3] ------> same as above, but before it performs a LTRIM on the input, then the

MID:2,3 will be applied to the result

• [RTRIM MID:2,3] ------> same as above, but before it performs a RTRIM on the input, then the

MID:2,3 will be applied to the result

• [TRIM MID:2,3] ------> same as above, but before it performs a TRIM on the input, then the

MID:2,3 will be applied to the result

ASCII Special Character Codes

ASCII (American Standard Code for Information Interchange) codes represent 128 characters. 33 of
these are non-printable markers that define how spaces are handled by a scanner or printer (line breaks,
tabs, etc.). Below is a table of the non-printable ASCII character codes and their associated definitions:

Code

Definition

<SOH> Start of Header
<STX> Start of Text
<ETX> End of Text
<EOT> End of Transmission
<ENQ> Enquiry
<ACK> Acknowledgment
<BEL> Bell
<BS> Backspace
<TAB> Horizontal Tab

Advertising