2D arrays are not a native type, so I don’t think you can build a 2D array from a string without using a Repeat. As the docs say: The Array2d compounds mimic an array of subarrays
So, here’s something I whipped out during my break from “real work” 🙂
thanks 😀
without you and paul smiths people would be nowhere.
You can do it with the modulo trick as well, avoiding the repeat with counter. I use the trick to load a 2D array of particles into a grid format. Convert the string to an array and select in array from there (row, column).
could you show a picture of that?