I have a very small query. I tried using concat, charAt, slice and whatnot but I didn\'t get how to do it.
Here is my string:
var str1 = \"Notion,Data,I
You can do it with regex easily,
var str1 = "Notion,Data,Identity,".replace(/.$/,".")
.$ will match any character at the end of a string.
.$