txt_processor 0.1.4

A little library for text processing
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
extern crate txt_processor;

use txt_processor::*;

fn main() {
    let t = TxtProcessor::from_file("./src/examples/file.txt").unwrap();
    let q = TxtProcessor::from_str(String::from("В этот лес завороженный,\r
По пушинкам серебра,\r
Я с винтовкой заряженной\r
На охоту шел вчера. "));
    assert_eq!(q.get_content(), t.get_content());
}