Remove last letter from the stirng Ex: test1, test2, test3, ß--- it willremove the last comma of the string

myString = myString.substr(0, myString.length - 1) + '.';

Comments

Popular posts from this blog

My Interview Experience

React Checkbox Control SPFx