# Example 1
# string of numbers with separator " "
num.01 = "5 3 2 3 5 2 33 23 5 32 432 42 23 554"
# split a string of numbers and return as numeric
strsplit.num(num.01, split = " ")
# Example 2
# string of numbers with separator "|||"
num.02 = "0|||1|||4|||43|||6|||8|||00||| 1||| 0 1||| T |||F|||TRUE |||f"
# split a string of numbers and return as numeric
strsplit.num(num.02, split = "[|||]")
Run the code above in your browser using DataLab