var str = "11:222";
/*
* Interception ":" value before and after
* /
Document.write (str.split ( ':') [0]) // output. 11
document.write (str.split ( ':') [. 1]) // Output 222
var str = "11:222";
/*
* Interception ":" value before and after
* /
Document.write (str.split ( ':') [0]) // output. 11
document.write (str.split ( ':') [. 1]) // Output 222