pub fn string_format(string: String, text: String) -> String
Expand description
Format the two strings together
ยงExamples
extern crate string_format;
use string_format::*;
let hello = String::from("hello {}");
let world = String::from("world");
assert_eq!("hello world".to_string(), string_format(hello, world));