Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)
>>> list(xsplit("1 234 5", ' '))
['1', '234', '5']

        def xsplit(s, delim="\t"):
    """
    >>> list(xsplit("1 234 5", ' '))
    ['1', '234', '5']
    """
    start = 0
    while True:
        pos = s.find(delim, start)
        if pos < 0:
            yield s[start:]
            return
        yield s[start:pos]
        start = pos + 1
        


src/t/a/tabkit-0.3/tabkit/scripts.py   tabkit(Download)
from exception import TabkitException, decorate_exceptions
from type import generic_type, narrowest_type
from utils import Files, xsplit
 
 
 
    nfields = len(data_desc)
    split = lambda row: islice(xsplit(row), nfields)
 
    # gather column widths