StringRight() Function
- Last UpdatedFeb 21, 2017
- 1 minute read
Returns a specified number of characters from the end of a string.
Syntax
result = StringRight (string, length)
Parameters
string
A literal text, message tagname, or string expression.
length
The number of characters to return. A literal number, analog tagname, or numeric expression.
Example(s)
StringRight("Hello World",5) returns "World".
StringRight("Hello World",20) returns "Hello World".
StringRight("Hello World",0) returns "Hello World".
Note: If you pass 0 as length to the StringRight() function, it returns the entire string.