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,Identity,"
I want to replace the last ,
with a .
it should look like this.
var str1 = "Notion,Data,Identity."
Can someone let me know how to achieve this?