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.

  • 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,661 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 229 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 223 Super User 2026 Season 2

#3
Valantis Profile Picture

Valantis 136 Super User 2026 Season 2

Last 30 days Overall leaderboard