n/A
How to return a list of characters. For example, I have a text file I want to convert to a list of all its character.
var/A = "1111"
My question is to return a list like so:
var/list/B = list("1","1","1","1")
This is easy in python, but I can't seem to figure out how to do this in BYOND XD
Keep in mind that operations like this on larger strings will be slow, and very resource-demanding, especially if you don't sleep() out the loop. If you're planning on loading entire files with it you're gonna end up with a fairly long-winded process that generates a fairly massive list.