Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUST

rustlang string

let mut hello = String::from("Hello, ");

hello.push('w');
hello.push_str("orld!");
Source by doc.rust-lang.org #
 
PREVIOUS NEXT
Tagged: #rustlang #string
ADD COMMENT
Topic
Name
2+6 =