HomeManualTopicsTypesSymbols

std::delete_all

deletes all occurences of the specfified expressions

Parameters

text
the string to process
expressions*
the expressions to delete

Results

None

Description

This function deletes all occurences of the specified expressions from the string.

Example

$str "abcabc" $str_without_b delete_all(str 'b') println! str_without_b

Output

acac

Topic

Strings

See also

std::replace_all replaces all occurences of the specified expressions