Skip to main content

split_pipe

Function split_pipe 

Source
pub fn split_pipe(raw: &str) -> (&str, &str)
Expand description

Split a media reference on the first |, returning (path, attrs_str).

If there is no |, attrs_str is an empty string.