Function stringToHex

  • Convert a string to a U+xxxx notation for debugging.

    Parameters

    • str: string

      String to convert

    Returns string

    "U+0000 U+0001"