What would the coding be to replace the last character in a string?
For example, if my variable varString = 'This is a test,'
and I want to replace the comma at the end with nothing so the result is 'This is a test' how would I do that?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.