Interface StringUtils


public interface StringUtils
This interface gives you access to String manipulation features.
  • Method Details

    • convertAsciiToHexString

      String convertAsciiToHexString(String data)
      Convert a string to the hex values of its ASCII characters. Each character will be converted to a two digit hex value.
      Parameters:
      data - The ASCII data to convert.
      Returns:
      The string of hex values.
    • convertHexStringToAscii

      String convertHexStringToAscii(String data)
      Convert a string of hex values to a string of ASCII characters. Each pair of hex digits will be converted to a single ASCII character.
      Parameters:
      data - The string of hex values to convert.
      Returns:
      The string of ASCII characters.