If you’re looking for a non-loop solution, I would recommend using a different seperator for each element. For example: e1/ item1 e2/ item2 e3/ brainrot e4/ amongus e5/
(spaces added for clarity. normally there wouldn’t be spaces between elements)
Then, to get the 3rd item:
Find the index of the first occurrence of “e3/”
Find the index of the first occurrence of “e4/”
Then get the substring of text between those two indicies.
I just took a quick look at that, it’s a good recursive solution to put each item of the list into an individual property. Unfortunately, OP is against recursion.