Convert a vector to an integer vector where individual string elements at interpreted as numeric if possible.

createOrderKey(x, split = "/")

Arguments

x

A vector.

split

A character to split strings by.