4 ms·
That is clever. I couldn't find a single word solution yet, but I did reduce the length of your solution: "drop lastchar"
by xcv123 3y ago
That is clever. I couldn't find a single word solution yet, but I did reduce the length of your solution:
"drop lastchar"
- johnd0309 3y agoeven better, thanks! annoyingly, even with this improved version, removing the space breaks it, so we're still at two words