[−][src]Macro string_format::string_format
work like the format! macro but with a String
Example
use string_format::*; let hello = String::from("hello {} {}"); let cruel = String::from("cruel"); let world = String::from("world"); assert_eq!("hello cruel world".to_string(), string_format!(hello, cruel, world));