Skip to main content

strip_wrapping_quotes

Function strip_wrapping_quotes 

Source
fn strip_wrapping_quotes(s: &str) -> Option<String>
Expand description

Strip ONE pair of quotes that wraps the whole string. A quote at only one end, or a pair that closes before the end ("a" and "b"), is part of the text.