Download MetaTrader 5

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.


Updated: 2016.04.14