Function jay_lib::fns::fn_io::s_f

source ·
pub fn s_f(s: String) -> Result<()>
Expand description

Writen a String to a file.


    use jay_lib::fns::fn_io::s_f;
      //s is a sql string.
    let s="Inst into xxxx".to_string();
    if let Err(_) = s_f(s) {
         eprintln!("Save v to file has some err");
     }