transposeChars

Swap the characters before and after the cursor.