mid: mid

midR Documentation

mid

Description

Behaves like Excel's LEFT, RIGHT, and MID functions Author: Bryce Chamberlain.

Usage

mid(string, start, nchars)

Arguments

string

String to process.

start

Index (1-index) to start at.

nchars

Number of characters to read in from start.

Examples

mid( "leftmidright", 5, 3 )

oliver-wyman-actuarial/easyr documentation built on Jan. 27, 2024, 4:37 a.m.