###User Defined Function###
_StrToHex

###Description###
Convert a string to a hex string.

###Syntax###
#include <StrToHex.au3>
$variable = _StrToHex("string")


###Parameters###
$strChar

###ReturnValue###
Returns hex string upon success. Returns -1 and sets @error to 1 upon failure.


###Remarks###
This returns the hex representation of a string passed to the function.

###Related###


###Example###
@@IncludeExample@@