.extrNumHeadingSepChar {wrMisc}R 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 ")

[Package wrMisc version 1.15.0.3 Index]