MQL4 - automated forex trading   /  

Documentation

MQL4 Reference  String functions  StringSetChar

 
Use the opportunities of
MQL5 in MetaTrader 5
Study the new MQL5 language
Study the new MQL5 language.
Reference is already available
string StringSetChar( string text, int pos, int value)
Returns the string copy with changed character in the specified position.
Parameters:
text   -   String where character will be changed.
pos   -   The character position in the string. Can be from 0 to StringLen(text).
value   -   New char ASCII code.
Sample:
  string str="abcdefgh";
  string str1=StringSetChar(str, 3, 'D');
  // str1 is "abcDefgh"