chararray.
rjust
Return an array with the elements ofselfright-justified in a string of lengthwidth.
See also
char.rjust
numpy.chararray.rindex
numpy.chararray.rsplit