quote_string

Function quote_string 

Source
pub fn quote_string(input: &str) -> IResult<&str, &str>
Expand description

Parses a quoted string from the input string.

ยงExample

use idf_parser::primitives::quote_string;

let input = "\"Hello, World!\"";

let (remaining, quoted_str) = quote_string(input).unwrap();
 assert_eq!(quoted_str, "Hello, World!");