If I have a string that's delimited by 2 different delimiters, how can I use split() or something similar to split the string?

i.e.

I want to split this sentence:

$GPGGA,17.4,233.3*22 // delimiters are , and *

into

$GPGGA
17.4
233.3
22