Skip to navigation

Question:
How to iterate through a string and shorten it after each loop

Code that is graceful and clear is less likely to break.