Skip to content

A function that emulates Excel's string functions LEFT(), MID() and RIGHT().

Usage

str_left(string, i = 1, n)

Arguments

string

string or vector containig strings to parse.

i

character number from which to start counting.

n

number of characters to extract.

Value

a vector with the remaining characters from the original strings

Author

Alejandro Abraham a.abraham@innovationteam.eu