I have a side project I'm creating where I have a global string containing numbers separated by commas, e.g., "1,3,4" (this can change), along with an ini file with items named "item1", etc.
What I'm trying to achieve is that when space is pressed, find the items in the ini where the suffix number matches one in the global string, and then list each item value in a string object. So as above it would list item1, item3 & item4.
I know I would need a loop and use the string splitter, but I can't get close enough.
Appreciate anyone who could point me in the right direction. Thanks in advance!