improve swapCase answer