Learn R Programming

LilRhino (version 1.2.2)

Num_Al_Sep: 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.

Examples

Run this code
# NOT RUN {
test_vec = 'The most iconic American weapon has to be the AR15'
res = Num_Al_Sep(test_vec)
print(res)
# }

Run the code above in your browser using DataLab