SciPy

numpy.chararray.strip

chararray.strip(chars=None)[source]

For each element in self, return a copy with the leading and trailing characters removed.

See also

char.strip

Previous topic

numpy.chararray.startswith

Next topic

numpy.chararray.swapaxes