[lang-ref] ( string_split_with_separator ) ( python )

def test_string_split_with_separator():
    # s.split(d)
    text = 'abc,def,ghi'
    elems = text.split(',')
    assert elems == ['abc', 'def', 'ghi']