Synopsis:
hexstr=strtohexi(string);
Arguments:
string - The string to convert to a hexadecimal string
Description: This function converts the string argument into the corresponding hexadecimal string. Each character of the string will be converted to exactly two hexadecimal characters in the returned string corresponding to the ASCII values of the string. This function is useful in a number of other library functions (such as the CCsetparm() function) where a hexadecimal string is required for a parameter value.
Examples:
// This will return hex_str="343432303832323232"
hex_str=CCstrtohex("442082222");
// This will return hex_str="010fffde"
hex_str=CCstrtohex("`01`0f`ff`de");
Returns: Returns the hexadecimal string representation of the ASCII values of the characters in the sting argument.