rvn_substrLeft: substring from the Left

View source: R/rvn_utilities.R

rvn_substrLeftR Documentation

substring from the Left

Description

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

Usage

rvn_substrLeft(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 right side of string

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

Examples


rvn_substrLeft("hello world",3)
# returns "hel"


rchlumsk/RavenR documentation built on April 19, 2024, 5:15 a.m.