MQL4 Reference Conversion Functions ShortArrayToString

MQL4 Help as One File:

ShortArrayToString

It copies part of array into a returned string.

string  ShortArrayToString(
   ushort  array[],      // array
   int     start=0,      // starting position in the array
   int     count=-1      // number of symbols
   );

Parameters

array[]

[in]  Array of ushort type (analog of wchar_t type).

start=0

[in] Position, from which copying starts, Default - 0.

count=-1

[in]  Number of array elements to copy. Defines the length of a resulting string. Default value is -1, which means copying up to the array end, or till terminal 0.

Return Value

String.