pub fn split_tagged(src: &str) -> (String, String)Expand description
A tagged line’s tag and data, either side of its first colon and stripped; a line without one is all data.
use music21::romantext::tokens::split_tagged;
assert_eq!(split_tagged("Title: Die Jahrzeiten"), ("Title".into(), "Die Jahrzeiten".into()));
assert_eq!(split_tagged("no tag"), (String::new(), "no tag".into()));