quoted_strings 0.1.0

Provides an iterator through quoted strings.
Documentation
  • Coverage
  • 0%
    0 out of 4 items documented0 out of 3 items with examples
  • Size
  • Source code size: 5.73 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 940.7 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • anna-is-cute

quoted_strings

If you need to process strings that may contain quotes and the strings are delimited by spaces, this is the library for you!

extern crate quoted_strings;

use quoted_strings::QuotedParts;

fn main() {
  let string = r#"
    This sure is some "sample text," isn't it?
  "#;

  for part in QuotedParts::from(string) {
    println!("{}", part);
  }

  // This
  // sure
  // is
  // some
  // sample text,
  // isn't
  // it?
}