DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
jquery append after number of chars in string
var str = "1100"; var result= str.substring(0,2) + ":" + str.substring(2); console.log(result)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#jquery
#append
#number
#chars
#string
ADD COMMENT
Topic
COMMENT
Name
9+5 =
Submit