In python how to remove one or more characters leading and trailing of a
string?