Text.Remove

 

This topic applies to the Power Query Formula Language which can be used with Power Query and Power BI Desktop to build queries that mashup data. See the list of function categories.

Removes all occurrences of a character or list of characters from a text value. The removeChars parameter can be a character value or a list of character values.

Text.Remove(text as nullable text, removeChars as any) as nullable text  

ArgumentDescription
textThe text to parse.
removeCharsA character value or a list of character values to be removed.
Text.Remove("a,b,;c",",")equals "ab;c"  

Text.Remove("a,b,;c",{",",";"}) equals "abc"  

Show: