Learn R Programming

RavenR (version 2.2.0)

rvn_substrMLeft: substring minus characters from the Left

Description

Returns a string x with n characters removed from the left side of the string.

Usage

rvn_substrMLeft(x, n)

Arguments

x

a string to manipulate

n

number of characters to remove from the left 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_substrMRight for removing n characters from the right side of a string

Examples

Run this code

rvn_substrMLeft("hello world",3)
# returns "lo world"

Run the code above in your browser using DataLab