Method String.expand_tabs() Method expand_tabs string expand_tabs(string s, int(1..)|void tab_width, string|void tab, string|void space, string|void newline) Description Expands tabs in a string to ordinary spaces, according to common tabulation rules.