pub fn split_topic(topic: &str, delimiter: char) -> (&str, Option<&str>)
Splits a topic into channel and optional symbol using the specified delimiter.