2019-04-16, 12:33 AM
Well shift the sentence backwards and just ignore the spaces. So they don't get shifted, and when encountered no shifting or destination incrementing happens. Thus the next character to be shifted goes where the space currently is.