MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal

Automated Trading Language Documentation

Publish a Trading Robot in MQL5 Code Base and Let Millions of Traders Know About You


Returns the number of symbols in a string.

int  StringLen(
   string  string_value      // string



[in]  String to calculate length.

Return Value

Number of symbols in a string without the ending zero.

Updated: 2014.08.27