Right
- Last UpdatedOct 04, 2024
- 1 minute read
- PI System
- PI Server 2023
- PI Server
Return a specified number of characters of a string from the right.
Syntax
Right(s1, len)
Arguments
-
s1
string
-
len
integer
Returns
len characters of the string from the right
Exceptions
If the arguments are not of the required types, an error value is returned.
Example
-
Right("String", 3)
[Returns "ing"]
-
Right("String", 20)
[Returns "String"]