rvn_substrLeft {RavenR} | R Documentation |
Returns n characters from the left side of the supplied string x.
rvn_substrLeft(x, n)
x |
a string to manipulate |
n |
number of characters to remove from the left side of the string |
rvn_substrRight
for using n characters from right side of string
rvn_substrMRight
for removing n characters from the right side of a string
rvn_substrLeft("hello world",3)
# returns "hel"