chararray.
startswith
Returns a boolean array which is True where the string element in self starts with prefix, otherwise False.
See also
char.startswith
numpy.chararray.squeeze
numpy.chararray.strip