Thanks for the quick answer!
I tried to use the function as follows:
entity Actor {
property String connections_m //property given a Shapefile field (understood as a String). List of ID numbers separated by ",".
property List<Integer> friends_m
}
for (actor:l_actors) {
let x_m = actor.connections_m.split(",")
actor.friends_m = x_m
}
And I got the error in the last line: Type mismatch: cannot convert from String[] to List<Integer>
How should I do to convert each element of the List from String to Integer?
Thanks!