PTLongestString

<< Click to Display Table of Contents >>

Navigation:  PlantExpressTools > How to use > Calculations > Additional Functions >

PTLongestString

Previous pageReturn to chapter overviewNext page

This function returns the longest string. You need at least 2 strings/properties for the comparison.

You could do the same with IIF functions and comparing the lenghts, but if you have a lot of properties you want to compare, this function is much easier to use.

Calculations 79

The result can be seen in the Calculated Property by PET.

Calculations 83

Next Chapter: PTSwitchCase & PTSwitchCondition