Scanner
This crate provides a Java-like Scanner which can parse primitive types and strings using UTF-8.
Example
extern crate scanner_rust;
use Scanner;
let mut sc = scan_slice;
assert_eq!;
assert_eq!;
assert_eq!;
assert_eq!;
assert_eq!;
assert_eq!;
assert_eq!;
assert_eq!;
assert_eq!;
Besides, the drop_next
and drop_next_line
methods are useful when you want to skip some substrings.
Also, see examples
.
Crates.io
https://crates.io/crates/scanner-rust