Consolidated processing of strings into Directions