Backport of string changes for 2.3 release - part 2
Follow-up on https://github.com/pandas-dev/pandas/pull/59513, with a second set of backports
Already green! 
(except for a time out of pre-commit.co, but I suppose that is unrelated)