https://www.hackertouch.com/rust-remove-last-character-from-string.html
Anonymous
You can always add complexity.