150
rated 0 times
[
154]
[
4]
/ answers: 1 / hits: 90648
/ 12 Years ago, mon, september 3, 2012, 12:00:00
Relative newcomer to Javascript and looking for a way to remove the last character of a string if it is a colon.
I know myString = myString.replace('/^\:/');
will work for the start of the line but not sure how to swap in the $
character to change to the end of a line… can anybody correct it?
Thanks
More From » string