split a string on the last occurrence of the delimiter code example Example: python reverse split only once s.rsplit(',', 1) s.rpartition(',')