Rustlang String

[Solved] Rustlang String | Rust - Code Explorer | yomemimo.com
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

Answers related to rustlang string

Code Explorer Popular Question For Rust