String Split

0
Hi all i have a list of coordinates 9.0000, 9.959959   Now these 2 coordinates in one attribute called value now i have to split it with coma( ,) and i have to pass this 2 values with 2 attributes called longitude and lattitude in a different entity    how can i do this in MF could you please provide me the solutions
asked
1 answers
1

Take a look at the StringSplit action in the Community Commons module in the Marketplace.

https://docs.mendix.com/appstore/modules/community-commons-function-library/#39-stringutils

You pass a String in, and you get a list of Objects with a single string attribute in it. These are returned in the same order as the String you passed in, so you can go through this list and extract the values for latitude and longitude for your different entity.

Hope this helps.

answered