[TOC] [Prev] [Next] [Bottom]



<@LENGTH>

Syntax

<@LENGTH STR=string>

Description

Returns the number of characters in the string specified in STR. The STR attribute may be a literal value, a meta tag that returns a value, or a combination of both.

Examples

<@LENGTH STR="This is a test">

This example evaluates to "14".

<@LENGTH STR="<@POSTARG NAME='SSN'>">

This example evaluates to the number of characters entered into the SSN form field.

<@LENGTH STR="<@COLUMN NAME='customer.lastname'>">

This example evaluates to the length of the customer's last name.



[TOC] [Prev] [Next] [Bottom]



docs@pervasive.com

Copyright © 1998, Pervasive Software Inc. All rights reserved.