voca_rs::manipulate
pub fn expand_tabs(subject: &str, tabsize: usize) -> String
Returns a copy of subject expands the tab characters using spaces.
subject
tabsize
use voca_rs::*; manipulate::expand_tabs("This is\tgood", 4); // => "This is good" manipulate::expand_tabs("no\tspaces", 0); // => "nospaces"