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



<@OMIT>

Syntax

<@OMIT STR=string CHARS=char [ENCODING=encoding]>

Description

Returns the value specified in STR stripped of all characters specified in CHARS. The operation of this meta tag is case sensitive. To omit both the upper and lower case variations of a character, you must include both characters in CHARS.

Each of the attributes of <@OMIT> may be specified using a literal value, meta tags that return values, or a combination of both.

Examples

<@OMIT STR="$200.00" CHARS="$">

This example evaluates to "200.00".

<@OMIT STR=" spacey" CHARS=" ">

This example evaluates to "spacey".

<@OMIT STR=green CHARS=gren>

This example evaluates to an empty string.

<@OMIT STR="$200.00" CHARS="01234567890.">

This example evaluates to "$".

<@OMIT STR="<@POSTARG NAME='PHONENUMBER'>" CHARS="()-">

If the form field PHONENUMBER contains "(905) 819-1173" then this would evaluate to "9058191173".

See Also

Encoding Attribute
<@KEEP>
<@LTRIM>
<@RTRIM>
<@TRIM>



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



docs@pervasive.com

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