Update cookies preferences
Promotic

Trim - function of language VBScript

Description:
Returns a copy of a text string without both leading and trailing spaces.
In the PROMOTIC system it is better to use the Pm.StringOper method.
Syntax:
String Trim(String string)
Parameters:
string(String) Text string
Note:
By this method only "space" chars are removed. Characters, like "new line", "tab", etc., are not removed by this.
Example:
VBScriptSelect and copy to clipboard

Dim s
s = Trim(" Promotic ")   ' s contains "Promotic"
PROMOTIC 9.0.31 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.