Functions to Convert Location String