Use the string.Split command (Char [], Int32)
var input = "+53.581N -113.587W 4.0 Km W of Edmonton, AB";
var splitArray = input.Split(new char[]{' '},3);
You will get Long, Lat and Location. (pay attention to 3 - this is a partition of the array three times)
Response to other answers suggesting Regex:
Please avoid regular expressions if the format is the same. The above option is much simpler, and the regular expression, as a rule, becomes incomprehensible very quickly.
source
share