powered by
RightmostCharacter() is a convenience function that returns the final character of a string.
RightmostCharacter()
RightmostCharacter(string, len = nchar(string))
Character string.
(Optional) Integer specifying number of characters in string.
string
RightmostCharacter() returns the rightmost character of a string.
# NOT RUN { RightmostCharacter("Hello, World!") # }
Run the code above in your browser using DataLab