MQL4 Reference String Functions StringSetCharacter
StringSetCharacterReturns true is a symbol is successfully inserted to the passed string.
Parameters string_var [in][out] String. pos [in] Position of a character in a string. Can be from 0 to StringLen(text). character [in] Symbol code Unicode. Return Value In case of success returns true, otherwise - false. Note If pos is less than string length and the symbol code value = 0, the string is cut off (but the buffer size, distributed for the string remains unchanged). The string length becomes equal to pos. If pos is equal to string length, the specified symbol is added at the string end, and the length is enlarged by one. Example:
See also StringBufferLen(), StringLen(), StringFill(), StringInit() |