MQL4 Reference Conversion Functions ShortToString

ShortToString

It converts the symbol code (unicode) into one-symbol string and returns resulting string.

string  ShortToString(
   ushort  symbol_code      // symbol
   );

Parameters

symbol_code

[in]  Symbol code. Instead of a symbol code you can use literal string containing a symbol or a literal string with 2-byte hexadecimal code corresponding to the symbol from the Unicode table.

Return Value

String.