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.TrimStart

Text.TrimStart

Removes all leading whitespace.
function (optional text as nullable any, optional trim as nullable any) as nullable any

Description

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

Category

Text.Transformations

Examples

Remove leading whitespace from " a b c d ".
1
Text.TrimStart(" a b c d ")
Copied!
"a b c d "
Previous
Text.TrimEnd
Next
Text.Upper
Last modified 3yr ago
Copy link
Contents
Text.TrimStart
Description
Category
Examples