There is sp_std module, https://docs.rs/sp-std/3.0.0/sp_std/fmt/index.html
But using format! or string gives error:
let vote_string = format!("{}-{}", account_string, phrase_string);
error: cannot find macro format
in this scope
let phrase_string = String::from_utf8(phrase.clone()).unwrap();
^^^^^^ use of undeclared type String
Importing
use sp_std::string::String;
doesnot work.