Helper that will split population definition into chunks of names and operators.
splitn(
definition,
all_names,
operators = c("And", "Or", "Not", "(", ")"),
split = "|"
)
population definition to be splitted
the names of all allowed populations
operators used. Default is c("And", "Or", "Not", "(", ")").
string used for splitting. Default is "|".