src/pylib/pystring/split/rsplit

Source   Edit  

Procs

proc rsplit(a: PyStr; sep = None; maxsplit = -1): PyList[PyStr] {....raises: [],
    tags: [], forbids: [].}
Source   Edit  
proc rsplit(a: PyStr; sep: StringLike; maxsplit = -1): PyList[PyStr]
Source   Edit  

Iterators

iterator rsplit(a: PyStr; sep = None; maxsplit = -1): PyStr {....raises: [],
    tags: [], forbids: [].}

with unicode whitespaces as sep.

treat runs of whitespaces as one sep (i.e. discard empty strings from result), while Nim's unicode doesn't has rsplit yet

Source   Edit