pub fn split_by_whitespace(s: String) -> Vec<String>Expand description
Splits a string by whitespace into a vector of strings
ยงExamples
let s = String::from("hello world");
let result = woofytest::split_by_whitespace(s);
assert_eq!(result, vec!["hello", "world"]);