VBScript » Functions » Right

Syntax:
Right(String, Length)
String
The String argument is the name of the string you wish to truncate.
Length
The Length argument is the number of characters (including blanks) you wish to save counting from the right side towards the left side of the string.

The Right function returns the right portion of the designated string for a designated length starting from the right side.

Examples

Code:
<% =Right("abcde fghij klmno pqrst uvwxyz", 13)%>
Output:
pqrst uvwxyz
Language(s): VBScript

See Also: