MQL4 - automated forex trading   /  

Documentation

MQL4 Reference  String functions  StringLen

 
Use the opportunities of
MQL5 in MetaTrader 5
Study the new MQL5 language
Study the new MQL5 language.
Reference is already available
int StringLen( string text)
Returns character count in a string.
Parameters:
text   -   String where the length must be calculated.
Sample:
  string str="some text";
  if(StringLen(str)<5) return(0);