I want to convert the following string \'14 2\' into an array of two integers. How can I do it ?
\'14 2\'
us the split function:
var splitresult = "14 2".split(" ");