Hello all:
Is there a Len(%varname%) function or something similar in PAD to get the length of a string variable?
John.
Solved! Go to Solution.
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:
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
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.