My variable looks like:
name = "Lola "; // notice the whitespace
How can I delete the whitespace at the end to leave me with just "Lola"?
Thank you all, but .Trim() don't work to me.
I read the text from a file, if that is any help.