mid: Extract the midlle of a string

View source: R/utils.R

midR Documentation

Extract the midlle of a string

Description

Extract num_char character of a string, starting from the start_num character

Usage

mid(text, start_num, num_char)

Arguments

text

Text to extract from

start_num

start of extraction

num_char

number of char to extract

Value

num_char extracted characters starting start_num

Examples

mid("dummy_test_2002",7,4)


Epiconcept-Paris/STRAP-epiuf documentation built on Aug. 5, 2024, 3:41 a.m.