Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript replace last character

var str1 = "Notion,Data,Identity,".replace(/.$/,".")
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #replace #character
ADD COMMENT
Topic
Name
2+3 =