mid: gets mid part of string

midR Documentation

gets mid part of string

Description

just like excel's mid func

Usage

mid(text, start_num, num_char)

Arguments

text

stuff to parse

start_num

PARAM_DESCRIPTION

num_char

how many characters should be returned

Details

DETAILS

Value

the 'num_char' length of chars in the middle of the inputed string

Examples

## Not run: 
if(interactive()){
 #EXAMPLE1
 mid("ABCDE", 2, 1)
 }

## End(Not run)

DataStrategist/amitFuncs documentation built on June 4, 2022, 10:01 a.m.