I'm trying to find a way of splitting a string that contains 2 {}{} brackets but after it's split it keeps the brackets.
Before word = {XXXX}{XXXX}
After
Word(1) = {XXXX}
word(2) = {XXXX}
I tried using split but this always removes the }{ which I want to keep. Somebody get me out of my misery!! I'm using vb.net.
Dim word As String = "{hello}{world}"
Dim wordArr As String() = word.Split("}")