web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Automate
Answered

String Length in PAD

(0) ShareShare
ReportReport
Posted on by 34

Hello all:

 

Is there a Len(%varname%) function or something similar in PAD to get the length of a string variable?

 

John.

I have the same question (0)
  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    If it is a TEXT variable type, you can use the property .Length to get the length.

    MichaelAnnis_0-1634827775058.png

     

    So, in variable form it would be %TEXTVARIABLE.Length%

     

    Best of Luck!

  • Pstork1 Profile Picture
    69,127 Most Valuable Professional on at

    Variables have properties that can be accessed.  You can access the length property of a variable using either the dialogue or the % notation in the following example.

    image.png

     

  • JohnStraumannPA Profile Picture
    34 on at

    Thanks for the response, I get an error: Variable 'TabName' doesn't have  a property 'Length'. I also tried %TabName%.Length, but the if fails.tabname.PNGv

  • Verified answer
    MichaelAnnis Profile Picture
    5,727 Moderator on at

    What is the property type of TabName?  You should be able to find it by going to your Variable Pane (on the right) and right-click -> View.  Need to know what is says here:

    MichaelAnnis_0-1634833512364.png

     

  • JohnStraumannPA Profile Picture
    34 on at

    Datarow

    tabname.PNG

  • JohnStraumannPA Profile Picture
    34 on at

    Thanks for the guidance, got it! CurrentItem[0].Length

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 594

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 281 Super User 2026 Season 1

Last 30 days Overall leaderboard