The Right function returns a string that contains the specified number of characters from the right side (the end) of the specified string.
|
Syntax | ||||
|
Right(Expr, Length) | ||||
|
Return value | ||||
|
Type |
Description | |||
|
String |
The right substring of Value | |||
|
Parameter | ||||
|
Use |
Name |
Type |
Passing |
Description |
|
Required |
Expr |
String |
ByVal |
String |
|
Required |
Length |
Long |
ByVal |
Number of characters from the right |
If Length is greater than or equal to the total number of Expr, the entire expression is returned.