SciPy

numpy.chararray.partition

chararray.partition(sep)[source]

Partition each element in self around sep.

See also

partition