Script functions reference > Script functions in alphabetical order > H

H
HexStr
Syntax
HexStr(str);
Description
Copies a string and interprets numbers in angle brackets as two-digit hexadecimal numbers (useful for Escape sequences). Other characters are returned unchanged.
Returns
A string.
Example
$a=hexstr("pre<1B,7C,8A>post");
$b=hexstr("xyz <30,39>");
Result:
$a="pre...post" 
(Where "..." are three converted numbers which may be non-printable.)
$b="xyz 09"
OpenText StreamServe 5.6 Updated: 2013-03-01