Determining the width of a formatted value/string: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
The routine operation ''' | The width of a string, label or formatted form of an attribute can be determined using the strlen() expression function along with an "=" routine operation, eg: | ||
[[Category: | p.width = strlen(p.mytext) | ||
[[Category: | |||
[[Category: | An older way to do this was using the routine operation '''FormattedWidth()''' | ||
[[Category:Format_(Units)]] [[Category:Routine]] [[Category:Labellist]] |
Latest revision as of 19:55, 13 December 2013
The width of a string, label or formatted form of an attribute can be determined using the strlen() expression function along with an "=" routine operation, eg:
p.width = strlen(p.mytext)
An older way to do this was using the routine operation FormattedWidth()