leftstr: Get substrings from the lefthand side

Description Usage Arguments Value

View source: R/aiding_functions.R

Description

Get substrings from the lefthand side

Usage

1
leftstr(x, n)

Arguments

x

a character vector (or something having an as.character method)

n

a single number: if n>=0, the leftmost n characters of each element of x are selected, if n<0 the (-n) rightmost characters are omitted

Value

character vector with leftside substrings of x


mdavy86/polymapR documentation built on May 25, 2019, 9:35 p.m.