Cheat Sheets/Power Apps/Len
Power Fx function

LenPower Fx function reference

Count characters.

Syntax

powerfx
Len( Text )

Examples

powerfx
Len(txtCode.Text)
A number
powerfx
Len(txtBio.Text) & "/500"
powerfx
If(Len(Trim(txtPassword.Text)) < 8, Notify("Password too short", NotificationType.Error))

Common mistakes & gotchas

Related Power Fx functions

From Text

Used in these tutorials

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