You need to sign in to do that
Don't have an account?

How to create array of characters from a string
I'm trying to find a way to read a string into an array (<list>). I know that I can get the string.Length and then loop through from 1 to Length, but I can't figure out how to get the character at position.loop_counter in the string. This is for a custom apex controller.
Thanks!
Couldn't you grab each character with substring?
stringToChopUp.substring(loop_counter,loop_counter+1)