Returns a copy of a string without both leading and trailing spaces.
In the PROMOTIC system it is better to use the Pm.StringOper method.
String Trim(String 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 = Trim(" Promotic ")
' s contains "Promotic"