Splits a string into valid tokens based on certain rules and operators. Valid tokens include "Upd", "Ip", "Mp", numeric values, and parentheses. This function is useful for parsing strings containing a cohort operation.
Splits a string into valid tokens based on certain rules and operators. Valid tokens include "Upd", "Ip", "Mp", numeric values, and parentheses. This function is useful for parsing strings containing a cohort operation.