Returns a copy of a string without trailing spaces (right trim
In the PROMOTIC system it is better to use the Pm.StringOper method.
String RTrim(String string)
s = RTrim(string)
|string||(String) Text string|
By this method only "space" chars are removed. Chars, like "new line", "tab", etc., are not removed by this.
VBScriptSelect and copy to clipboard
s = RTrim(" Promotic ") 'Returns " Promotic"