Update cookies preferences

Right - function of language VBScript

Returns a specified number of characters from the right side of a string.
In the PROMOTIC system it is better to use the Pm.StringSub method.
String Right(String string, Integer length)
string(String) Text string from which the rightmost characters are returned.
length(Integer) Numeric expression indicating how many characters to return.
If 0, then a empty string ("") is returned.
If greater than or equal to the string length, then the entire string is returned.
To determine the string length, use the Len function.
VBScriptSelect and copy to clipboard

Dim sAnyString, sStr
sAnyString = "Hello World"
sStr = Right(sAnyString, 1)   ' Returns "d"
sStr = Right(sAnyString, 6)   ' Returns " World"
sStr = Right(sAnyString, 20)   ' Returns "Hello World"
PROMOTIC 9.0.28 SCADA system documentation MICROSYS, spol. s r.o.

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