Function
string.expandtabs

Signature

expandtabs(s, tabsize=8)

Documentation String

expandtabs(s [,tabsize]) -> string

Return a copy of the string s with all tab characters replaced by the appropriate number of spaces, depending on the current column, and the tabsize (default 8).