Skip to main content

parse_dollar_string_token

Function parse_dollar_string_token 

Source
pub fn parse_dollar_string_token(text: &str) -> (Option<String>, String)
Expand description

Parse a DollarString token text into (tag, content). If the text contains ‘\x00’, the part before is the tag and after is content. Otherwise, the whole text is the content with no tag.