EncodeHex

I’m searching for iOS something like EncodeHex.
http://documentation.xojo.com/index.php/EncodeHex

Any ideas?

And ofcourse " DecodeHex " also :slight_smile:

http://developer.xojo.com/integer$ToHex
http://developer.xojo.com/integer$FromHex

Yeah, but it’s not suitable forr a complete String/Text object without making a complete function by myself…

I’m not sure what you mean?

On the Mac it’s working like:

Dim s As String s = EncodeHex( "The cake is a lie.", False ) MsgBox(s)

Hmm you’re right. I can’t believe they overlooked that in iOS (and that I haven’t needed it yet). I guess you will have to file a feedback request.

Encoding can be done with mid and codepoint plus ToHex, decoding can be done with mid and FromHex.