I want to split a string with multiple delimiters using Excel VBA. One of the strings is:
d1-d2 d3 d4
We have a dash and a space as tw
in which case you could do
newString = Replace(origString, "-", " ") newString2 = replace(newstring, " " , " ") newArray = SPlit(newString, " ")