You should look into using regular expressions for parsing strings. System.Text.RegularExpressions.
Alternatively, you can use the StringVar.IndexOf() method to find the position of the first bracket before the number and the space afterwards, and StringVar.SubString() to extract the correct number of characters.