numpy / 1.18.5 / reference / generated / numpy.chararray.strip.html /

numpy.chararray.strip

method

chararray.strip(self, chars=None) [source]

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

See also

char.strip

© 2005–2020 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.18/reference/generated/numpy.chararray.strip.html