Right
The Right function returns a specified number of characters from the right side of a string.
Syntax :
Right(string,length)
Parameters | Description |
---|---|
string | Required. The string to return characters from. |
length | Required. Specifies how many characters to return. If set to 0, an empty string ("") is returned. If set to greater than or equal to the length of the string, the entire string is returned. |
Example :
s = Right("Test",2)
Result :
s=st