rvn_substrRight {RavenR}R Documentation

substring from the Right

Description

Returns n characters from the right side of the supplied string x.

Usage

rvn_substrRight(x, n)

Arguments

x

a string to manipulate

n

number of characters to use from the right side of the string

See Also

rvn_substrLeft for using n characters from the left side of string

rvn_substrMRight for removing n characters from the right side of a string

rvn_substrMLeft for removing n characters from the left side of a string

Examples


rvn_substrRight("hello world",3)
# returns "rld"


[Package RavenR version 2.2.2 Index]