Cheat Sheets/Power Apps/TrimEnds
Power Fx function

TrimEndsPower Fx function reference

Trim leading/trailing spaces only.

Syntax

powerfx
TrimEnds( Text )

Examples

powerfx
TrimEnds("  a   b  ")
"a b"
powerfx
TrimEnds(txtCode.Text)
powerfx
Len(TrimEnds(txtNotes.Text)) = 0

Common mistakes & gotchas

Related Power Fx functions

From Text

Used in these tutorials

← Back to the Power Apps (Power Fx) cheat sheet