Kyrieru
Member
I'm loading a text file with lines like;
1,5,12
And I need to convert it into an array.
I understand (more or less) how I would have to do this, but frankly as more of an artist than a programmer; when I think about it my soul tries to leave my body. Because I know I will stumble over it forever.
Does anybody know of any script or existing resources that would allow me to do this?
Nvm, a friend linked me to this, which works. (1x ver of the scripts listed here)
1,5,12
And I need to convert it into an array.
I understand (more or less) how I would have to do this, but frankly as more of an artist than a programmer; when I think about it my soul tries to leave my body. Because I know I will stumble over it forever.
Does anybody know of any script or existing resources that would allow me to do this?
Nvm, a friend linked me to this, which works. (1x ver of the scripts listed here)
GameMaker: Split string on delimiter
Time to time I see people come up with increasingly strange solutions for a simple problem of splitting a string into multiple substrings on a delimiter. So here's a post about the algorithm and with code samples for all existing versions of GameMaker. The algorithm The idea, as outlined in the...
yal.cc
Last edited: