[WAP_MaxColumns] returns the number of text columns in the screen of the current client's WAP browser.
This information is reported by the WAP browser. Not all browsers may supply this information.
[WAP_MaxColumns]
Use the [WAP_MaxColumns] tag to determine the width of the WAP Browser's screen and use the [String_Extract] tag to shorten field data to that length. The results are shown for a 12 character display, cutting off the last character of 'Surname, John'.
[Inline: -FindAll,
-Database='Contacts',
-Table='People']
[Records]
<br>[String_Extract: -StartPosition=0,
-EndPos=(WAP_MaxColumns),
(Field: 'Last_Name') + ', ' + (Field: 'First_Name')]
[/Records]
[/Inline]
<br>Doe, John
<br>Surname, Joh
Tag Link | [WAP_MaxColumns] | Category | Client |
---|---|---|---|
Type | Substitution | Data Source | Any |
Support | Preferred | Version | 5.0 |
Output Type | Integer | Security | None |
Implementation | LDML | Sets | Lasso 6.0, Lasso 5.0 |
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft