Learn
Practice
Reference
Reverse text by characters, words, or lines, counting Unicode code points so emoji stay intact.