Function voca_rs::split::words [−][src]
pub fn words(s: &str) -> Vec<String>
Splits subject
into an array of words.
Arguments
string: &str
- The string to split into characters.
Example
use voca_rs::*; split::words("Sześć звёзд are dying"); // => ["Sześć", "звёзд", "are", "dying"] split::words("LazyLoad with XMLHttpRequest and snake_case"); // => ["Lazy", "Load", "with", "XML", "Http", "Request", "and", "snake", "case"]