Num_Al_Sep {LilRhino}R 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)

[Package LilRhino version 1.2.2 Index]