Parsing string locations