numpy.chararray.startswith
numpy.chararray.swapaxes
For each element in self, return a copy with the leading and trailing characters removed.
See also
char.strip