classic ASP: split by two patterns

buonvitinhbuon

New Member
I'm trying to split a string in classic ASP by two parameters/patternsAs an example, I'm trying to do something like\[code\]str = "1,2,3,4|5|6.7.8"arr = Split(str, "," , "|" )'arr = [ 1 , 2 , 3 , 4 , 5 , 6.7.8 ]\[/code\]Is there a way to do that besides writing my own split function? (iterating over the entire string, comparing with patterns...)
 
Back
Top