Function remove0x

  • Remove the 0x-prefix from a hexadecimal string. If the string doesn't have the prefix, it is returned as-is.

    Returns

    The un-prefixed hexadecimal string.

    Parameters

    • hexadecimal: string

      The hexadecimal string to remove the prefix from.

    Returns string