dot-extrNumHeadingSepChar: Extract numbers before separator followed by alphabetic...

.extrNumHeadingSepCharR Documentation

Extract numbers before separator followed by alphabetic character

Description

This function aims to extract number(s) before separator followed by alphabetic character (return named numeric vector, NAs when no numeric part found)

Usage

.extrNumHeadingSepChar(x, sep = "_")

Arguments

x

character vector to be treated

sep

(character) separator

Value

This function returns a numeric vector

See Also

nchar

Examples

.extrNumHeadingSepChar(" 1B ")

wrMisc documentation built on Sept. 11, 2024, 6:10 p.m.