Remove the last comma from string and replace it with a period in Javascript | How to Remove the last comma from string

How to remove the last comma from string and replace it with a period in Javascript?

str2 will contain the string a,s,d,f,g. I hope you will find this tutorial very handy.

0 comments:

Post a Comment