Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Convert a string of hex to a string of text.

Parameters

  1. String of hex

Return Value

This API returns a string value.

Exception Handling

If you pass in the incorrect amount of hex, it is poissible that the Buffer module can throw an error.

Example

Code Block
languagejavascript
pjs.define("FieldF", { type: 'char', length: 1 });
FieldF = String.fromEbcdicHex('01');