[−][src]Function string_format::string_format
pub fn string_format(string: String, text: String) -> String
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));