Skip to main content

strip_quotes

Function strip_quotes 

Source
pub fn strip_quotes(s: &str) -> &str
Expand description

Strip surrounding single or double quotes from a string.

Attribute values in AsciiDoc can be quoted with either single or double quotes. This function strips the outermost matching quotes from both ends.