On Sep 2, 2:52 pm, Koko <[email protected]> wrote: > > any Idea?
This isn't really a maps question, is it? You have an element, <elm>A,B C,D E,F G,H</elm> and you want to separate out the data. Use split(): split the string on spaces to get an array of coordinate strings ["A,B", "C,D", "E,F", "G,H"] and then iterate through that array and split each element on the comma to get a two-element array: ["A","B"] etc which you can access via indices [0] and [1]. http://www.google.com/search?q=javascript+split+string Andrew --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
