Anonymous user
Multisplit: Difference between revisions
no edit summary
No edit summary |
|||
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 [<nowiki>''</nowiki>].
'''Alternative version'''
|