HomeManualTopicsTypesSymbols

std::with_tabs

replaces leading spaces with tab-characters

Parameter

text
the text to be processed

Results

None

Description

Replaces sequences of 8 or more leading spaces with the apprpriate number of tabulator-characters and the remaining spaces.

Topic

Strings

See also

std::tabs_and_spaces returns a sequence of tabulator- and space-characters