This method returns the rightmost characters of the string.
Parameter | Description |
---|---|
count | Maximum number of characters to return |
Returns the rightmost characters of the string. If the count parameter is equal to or greater than the length of the string, the entire string is returned.
lua
local s = "Hello, how are you today?"
Print(Right(s, 6))