rvn_substrMRight {RavenR} | R Documentation |
substring minus characters from the Right
Description
Returns a string x with n characters removed from the right side of the string.
Usage
rvn_substrMRight(x, n)
Arguments
x |
a string to manipulate |
n |
number of characters to remove from the right side of the string |
See Also
rvn_substrRight
for using n characters from the right
side of string
rvn_substrLeft
for using n characters from the left side of
string
rvn_substrMLeft
for removing n characters from the left side of a
string
Examples
rvn_substrMRight("hello world",3)
# returns "hello wo"
[Package RavenR version 2.2.2 Index]