I have one string: "xx:yy:zz.ss" or "x:y:zz.ss"I want to cut them out of the chain:
string1: "xx"
string2: "yy"
string3: "zz"
string4: "ss"
help me
I have one string: "xx:yy:zz.ss" or "x:y:zz.ss"I want to cut them out of the chain:
string1: "xx"
string2: "yy"
string3: "zz"
string4: "ss"
help me
Do splitting. string.split
should accept regex as a parameter.
string.split("[.:]");