Full iteration
It's pretty simple to iterate through the text. Just make sure you respect your sorting.
Simple way
It's clean and intuitive to use the GetCharacters
function, which will iterate through all characters.
This function is optimized and respects all sorting types.
You can simply iterate through the characters like this:
Advanced way
You can also manually loop through. This may be useful in certain cases.
Here's an example with full sorting on:
If you have only one of the sorting types enabled, there will only be one layer of folders, and you'll have to do something like this:
Last updated