def parsesep(s:str, sep:str=","):
    """Get the next word from a string, separated ny sep. Return (word,remainder)"""
    i=s.find(sep)
    if i<0:
        i=len(s)
    result=s[0:i]
    remain=s[i+len(sep):]
    return (result,remain)