Question : rustlang string
Answered by : huldar
let mut hello = String::from("Hello, ");
hello.push('w');
hello.push_str("orld!");
Source : https://doc.rust-lang.org/std/string/struct.String.html | Last Update : Tue, 30 Mar 21
Answered by : huldar
let mut hello = String::from("Hello, ");
hello.push('w');
hello.push_str("orld!");
Source : https://doc.rust-lang.org/std/string/struct.String.html | Last Update : Tue, 30 Mar 21