i'm looking for a way to split a string of multiple tag into a separate string to process it one by one for example when a string og tag "[{M}sometag] [sometag] [{F}sometag]" is coming is should separate firstly from the "[" then leave just {M}sometagand process one by one.... any idea?
i know that i should use a for loop to loop through the string char but i can't figure out the algortihm