title: How to split latitude and longitude separately
body: <p>I want to loop through the value of objects of an array that has latitude and longitude together as a value (but separated with a comma).</p>
  
  <p>What I want to achieve is to split the latitude and longitude and store them separately like this:</p>
  
  <p><a href="https://i.stack.imgur.com/Ka50V.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ka50V.jpg" alt="how it should be"></a></p>
  
  <p>This is how my data looks like. The <code>key</code> I'm interested in is the <code>location</code>:</p>
  
  <p><a href="https://i.stack.imgur.com/cXF9j.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cXF9j.jpg" alt="enter image description here"></a></p>