how to parse this string with java script
19 51 2.108997 20 47 2.1089
like this
19 51 2.108997
Like this:
var myString = "19 51 2.108997"; var stringParts = myString.split(" "); var html = "" + stringParts[0] + " " + stringParts[1] + " " + stringParts[2] + "