https://www.hackertouch.com/rust-remove-last-character-from-string.html
Anonymous
When in doubt, use brute force.