I am trying to split a string, but need to skip strings within brackets, and keep this as one entity. How can I split the following
using strsplit, so that XO(12,13,14,15) is not split at the commas. I would therefore like to ignore the content inside the brackets.
Any help would be appreciated.