MQL4 Reference
Conversion functions
CharToStr
| string CharToStr( |
int char_code) |
Conversion of the symbol code into a one-character string.
Parameters:
| char_code |
- |
ASCII char code. |
Sample:
string str="WORL" + CharToStr(44); // 44 is code for 'D'
// the resulting string will be WORLD
|
|
|