How do I remove the last character from a string?

"abcdefghij"  →  "abcdefghi"

4 s
4

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *