How would you split a string like
'1,55,6,89,2|7,29,44,5,8|767,822,999'
on the two delimiters ','
and '|'
such that you have a list with the values like:
[[1, 55, 6, 89, 2], [7, 29, 44, 5, 8], [767, 822, 999]]
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…