DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
2+3 =
Submit