Jun-20-2018, 06:07 PM
So your location variable has no ',' in its content:
Location: 8 SHENTON WAY #43-01 AXA TOWER SingaporeThis content will return only 1 item, when you call split(','), but your code expects 2.