Skip to content

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

Usage

str_mid(string, i = 2, e = 5)

Arguments

string

string or vector containig strings to parse.

i

character number from which to start counting.

e

character number where to stop counting.

Value

a vector with the remaining characters from the original strings

Author

Alejandro Abraham a.abraham@innovationteam.eu