Function yarns::concat [] [src]

pub fn concat(str1: &String, str2: &String) -> String

Concatenates two strings.

let hello = String::from("Hello");
let world = String::from("World");
let hw = yarns::concat(&hello, &world);
//hw = (String)"HelloWorld"