Files
mql5-skills/skills/mql5/references/docs/34-standardlibrary/2123-standardlibrary-stringoperations-cstring-cstringtrimright.md
T
2026-06-23 21:47:51 +08:00

311 B

TrimRight

Removes all characters within a set (as well as ' ','\t','\r','\n') at the end of a string from this string.

int  TrimRight(
   const string  targets      // set
   )

Parameters

targets

[in]  Set of characters to remove.

Return Value

Number of characters removed.