ttvm 0.2.9

Runtime and compiler infrastructure API for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
pub fn split<S: AsRef<str>>(stringlike: S) -> Vec<String> {
    let mut res: Vec<String> = Vec::new();
    let string = stringlike.as_ref().to_string();

    for elem in string.split_whitespace() {
        res.push(elem.to_string());
    }

    res
}