comma-separated/README.md
Robin Appelman 74f120e51f
Some checks failed
CI / checks (push) Failing after 3s
Update README.md
2025-05-21 20:44:35 +00:00

15 lines
415 B
Markdown

# Moved to https://codeberg.org/icewind/comma-separated
# Comma-separated
Iterator over a comma-seperated string, ignoring any commas inside quotes
```rust
use comma_separated::CommaSeparatedIterator;
fn main() {
let input = r#"foo, "bar", 'quoted, part'"#;
let iterator = CommaSeparatedIterator::new(input);
assert_eq!(vec!["foo", "\"bar\"", "'quoted, part'"], iterator.collect::<Vec<_>>());
}
```