Update stripPrefix/StringLike docs to talk about no op case

rework of #3950:

- rebased on 2.11.x
- incorporated review comments by @som-snytt