Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Telepathy Communications Library - <b>tp_strhex()</b> - convert string to hexadecimal http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   tp_strhex() - convert string to hexadecimal

   cHexStr := tp_strhex(cString)

   cString     ASCII string.

   Returns     String of ASCII values, in hex.

   Converts a string of ASCII characters to hexadecimal.  The returned
   string is twice as long as the original, and contains two hexadecimal
   digits for each character in the original string.

   Example:

       ? tp_strhex("Hello")    // Prints "48656C6C6F"

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson