Promotic
WikipediaLinkedInYoutubeTwitterFacebook

LTrim - function of language VBScript

Description:
Returns a copy of a string without leading spaces (left trim).

For the purposes of PROMOTIC system, it is more usefull to use the method: Pm.StringOper("ltrim").

Syntax:
LTrim(string As String) As String
Calling:
s = LTrim(string)
Parameters:
string(String) Text string
Note:
By this method only "space" chars are removed. Chars, like "new line", "tab", etc., are not removed by this.
Example:
VBScriptSelect and copy to clipboard

Dim s
s = LTrim(" Promotic ")  'Returns "Promotic "
PROMOTIC 9.0.0 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice