In Rust we can use the method .split() to split a string by a given character. let mut parts = "/index/home/example".split("/");.
確定! 回上一頁