I don't fully grasp what you said, Horstl. I came up with my example based on what Mumra has shown in his ini file format stored. Upon trigger, it loads the ini to a hash table, adds it to a temporary variable separated with a comma and count the number of token existed to output the results. The hash table is then cleared at the end.
I'm not saying my example is foolproof; it may be error-prone in some way...I have yet to encounter one when I tested it briefly.