Jump to content

Multisplit: Difference between revisions

(→‎{{header|Python}}: New Python version.)
Line 70:
>>> ms(txt="a!===b=!=c", sep=["=", "!=", "=="])
['a', [1, 1], '', [0, 3], '', [0, 4], 'b', [0, 6], '', [1, 7], 'c']</lang>
Small inaccuracy in the version above: ms("", ["="]) outputs [] instead of [''].
 
'''Alternative version'''
Cookies help us deliver our services. By using our services, you agree to our use of cookies.