Power Query
Search…
published
Introduction
Accessing Data
Action
Binary
Binary Formats
Combiner
Comparer
Cube
Date
Date Time
Date Time Zone
Diagnostics
Duration
Error
Expression
Function
Lines
List
Logical
Metadata
Number
Record
Replacer
Splitter
Table
Text
Character.FromNumber
Character.ToNumber
Guid.From
Json.FromValue
Text.AfterDelimiter
Text.At
Text.BeforeDelimiter
Text.BetweenDelimiters
Text.Clean
Text.Combine
Text.Contains
Text.End
Text.EndsWith
Text.Format
Text.From
Text.FromBinary
Text.Insert
Text.Length
Text.Lower
Text.Middle
Text.NewGuid
Text.PadEnd
Text.PadStart
Text.PositionOf
Text.PositionOfAny
Text.Proper
Text.Range
Text.Remove
Text.RemoveRange
Text.Repeat
Text.Replace
Text.ReplaceRange
Text.Reverse
Text.Select
Text.Split
Text.SplitAny
Text.Start
Text.StartsWith
Text.ToBinary
Text.ToList
Text.Trim
Text.TrimEnd
Text.TrimStart
Text.Upper
Value.FromText
Time
Type
Uri
Values
Powered By GitBook
Text.Remove

Text.Remove

Removes all occurrences of the given character or list of characters from the input text value.
function (optional text as nullable any, optional removeChars as nullable any) as nullable any

Description

Returns a copy of the text value text with all the characters from removeChars removed.

Category

Text.Modification

Examples

Remove characters , and ; from the text value.
1
Text.Remove("a,b;c",{",",";"})
Copied!
"abc"
Previous
Text.Range
Next
Text.RemoveRange
Last modified 3yr ago
Copy link
Contents
Text.Remove
Description
Category
Examples