1// using 2 variables
2let new_string = format!("{}{}", first_string, second_string);
3// using 2 literals
4let new_string = format!("{}{}", "first string ", "second string");
1let text1 = "hello".to_owned();
2let text2 = text1 + " world";
3println!("{}", text2);