Meet us at at Real World in Orlando, Florida.
All functions
Mac OS X
Windows
Crossplatform
Components
Guides
New in version:
2.0
2.1
2.2
2.3
2.4
2.5
2.6
2.7
2.8
String.EncodeToHex
Component: String
Version: 2.4
Mac OS X: Works
Windows: Works
MBS( "String.EncodeToHex"; text; encoding )
Parameters
| Parameter | Description | Example value |
|---|---|---|
| text | The text to process. | "Hello World" |
| encoding | Optional. The text encoding for the resulting string. Default is native. Can be one of the following strings: ansi, windows, mac, latin1, utf8. |
Result
Returns encoded text.
Description
Encode a hex string.Please check what text encoding you want to use. Especially what the software processing the hex string expects.
Examples
Encode Hex as UTF-8:
MBS( "String.EncodeToHex"; "Hello World"; "utf8" )
Feedback: Report problem or ask question.
Links
MBS REALbasic Plugins - Pfarrgemeinde St. Arnulf Nickenich