Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Len - function of language VBScript

Description:
Returns the number of characters in a string or (if the str parameter isn't of the String type) the number of bytes required to store a variable.

In the PROMOTIC system it is better to use the Pm.StringLen method.

Syntax:
Long Len(String str)
Calling:
n = Len(str)
Parameters:
str(String) Any valid expression.
Example:
VBScriptSelect and copy to clipboard

Dim n
n = Len("VBScript")  'n contains 8
PROMOTIC 9.0.11 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