Power Query
Power Query
Power Query
Power Query
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.TrimEnd

Text.TrimEnd

Removes all trailing whitespace.

function (optional text as nullable any, optional trim as nullable any) as nullable any

Description

Returns the result of removing all trailing whitespace from text value text.

Category

Text.Transformations

Examples

Remove trailing whitespace from " a b c d ".

Text.TrimEnd(" a b c d ")

" a b c d"

Previous
Text.Trim
Next
Text.TrimStart
Last updated 2 years ago
Edit on GitHub
Contents
Text.TrimEnd
Description
Category
Examples