How can I remove the last character of a string? TIA
turn the character before the NULL character into a NULL character.