leftstr: Get substrings from the lefthand side

View source: R/fitPolyTools.R

leftstrR Documentation

Get substrings from the lefthand side

Description

Get substrings from the lefthand side

Usage

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


fitPoly documentation built on April 3, 2025, 8:58 p.m.