Announcements
Hello all:
Is there a Len(%varname%) function or something similar in PAD to get the length of a string variable?
John.
If it is a TEXT variable type, you can use the property .Length to get the length.
So, in variable form it would be %TEXTVARIABLE.Length%
Best of Luck!
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.
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.v
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:
Datarow
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.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Haque 594
Valantis 328
David_MA 281 Super User 2026 Season 1