I have a string that contain the following text:
[l=9;f=0;r=5;p=2]
There may be more than one:
[l=9;f=0;r=5;p=2];[l=9;f=0;r=6;p=2]
I want to get the array of strings(for second example):
[l=9;f=0;r=5;p=2]
[l=9;f=0;r=6;p=2]
I tried this but it split not correctly:
Regex.Split(seat, "(?=])");
PS. regexp not mandatory.
1 Answer