Num_Al_Sep: Number/alpha numeric seperator for strings.

View source: R/Personal_Functions.R

Num_Al_SepR Documentation

Number/alpha numeric seperator for strings.

Description

A Function for the separating of numbers from letters. 'b4' for example would be converted to 'b 4'.

Usage

Num_Al_Sep(vec)

Arguments

vec

The string vector in which you wish to separate the numbers from the letters.

Value

output

The separated vector.

Note

This is a really simple function really used inside other functions.

Author(s)

Travis Barton

Examples

test_vec = 'The most iconic American weapon has to be the AR15'
res = Num_Al_Sep(test_vec)
print(res)

Travis-Barton/LilRhino documentation built on May 3, 2022, 3:36 a.m.