### String Format Tool Parameters

##### Input String 1

- Input String 1: Select the string you want to match. Select output from decoding tools, OCR tools, string formatting tools, and validating tools.
  To reset the Input String 1 or Input String 2 values to Not Connected, click the X to the right of the value you want to disconnect.

- Optional Format: Set the format. You can format based on the following rules:
  - Extracted characters are specified by []. [1-4] extract characters 1 through 4. [12] Extracts character 12. [] = Entire string.
  - Special characters are specified by ‘\’. \t (horizontal tab), \r (carriage return), and \n (new line) are supported.
  - Any other characters are inserted into the final string.
  Examples:
  String = 123
  Format = Start[]end
  Output = Start123end
  String = ABCDEFG
  Format = [2-4][7]
  Output = BCDG
  String = ABCDEFG
  Format = *[2-4]**[7]?
  Output = *BCD**G?

Precautions for Correct Use: The String Format Tool only accepts the three special characters mentioned above.

##### Input String 2

- Input String 2: Select the string you want to match. Select output from decoding tools, OCR tools, string formatting tools, and validating tools. The formatted string is appended to the end of formatted string1.

- Optional Format: Set the format. You can format based on the above rules.

##### Non-Printable Characters

The String Format Tool accepts the following special characters, which can be used to configure the output string:

\a bell

\b backspace

\f form feed

\n new line

\r carriage return

\t horizontal tab

\v vertical tab

\’ single quote

\x022 double quote ( ” )

\? question mark

\ooo three digit octal notation ASCII value, i.e. \145 = 'e'

\x0hh hexadecimal notation ASCII value, i.e. \0x04C = 'L'

Precautions for Correct Use: To escape the ‘\’ character, use the hexadecimal or octal versions \x5c or \134.