[][src]Function voca_rs::count::count

pub fn count(subject: &str) -> usize

Counts the characters in subject.

Arguments

Example

use voca_rs::*;
count::count("rain");
// => 4
count::count("błąd");
// => 4
use voca_rs::Voca;
"rain"._count();
// => 4