• convert a string to the corresponding hexadecimal value

    Parameters

    • str: string

      the string to be converted

    Returns string

    the converted hexadecimal value