first_alpha: String methods

Description Usage Arguments Value

View source: R/strings.R

Description

Extract the first alphabetic character (if available) from the characters of a string.

Usage

1
first_alpha(string)

Arguments

string

An object that inherits from class "character".

Value

Returns the first alphabetic character (A-Z or a-z) or NA if no alphabetic characters are found.


bgreenwell/bmisc documentation built on Sept. 24, 2019, 11:09 a.m.