| RightmostCharacter {TreeTools} | R Documentation |
Rightmost character of string
Description
RightmostCharacter() is a convenience function that returns the final
character of a string.
Usage
RightmostCharacter(string, len = nchar(string))
Arguments
string |
Character string. |
len |
(Optional) Integer specifying number of characters in |
Value
RightmostCharacter() returns the rightmost character of a string.
Author(s)
Martin R. Smith (martin.smith@durham.ac.uk)
See Also
Other string parsing functions:
EndSentence(),
MorphoBankDecode(),
Unquote()
Examples
RightmostCharacter("Hello, World!")
[Package TreeTools version 1.12.0 Index]