extract.character: Extract character information from a string

View source: R/extract.character.r

extract.characterR Documentation

Extract character information from a string

Description

Takes character string and parses the character input from it, if available

Usage

extract.character(x, collapse = FALSE)

Arguments

x

A character or numeric string.

collapse

A boolean, should the character vector returned by collapsed (see paste).

Value

A character string or vector if the input has multiple character blocks.

See Also

extract.number

Examples

extract.character(x = "df12Lee31df")
extract.character(x = "df1231df", TRUE)

qPharmetra/qpToolkit documentation built on May 24, 2023, 8:52 a.m.