Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUST

rust read splited string as vector

for s in split {
    println!("{}", s)
}
let vec = split.collect::<Vec<&str>>();
// OR
let vec: Vec<&str> = split.collect();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #rust #read #splited #string #vector
ADD COMMENT
Topic
Name
7+8 =