Functions Reference

Table Of Contents
Chapter 12
|
Text functions 183
Spaces are removed or inserted depending on the value of trimType, as given in the
following tables:
In all cases, spaces between non-Roman characters are removed.
* = insert space between non-Roman and Roman text if there isn’t one.
Examples
TrimAll( ) returns if the value of field is
TrimAll( ) returns
Upper
Format
Upper(text)
Parameter
text - any text expression or text field
Data type returned
text
Description
Returns all letters in text as uppercase. Use the Upper function to ensure consistent
data entry of such things as state abbreviations or postal codes.
This trimType value Does this
0 Removes all spaces between non-Roman and Roman characters (always leave
one space between Roman words).
1 Always includes a half-width space between non-Roman and Roman characters
(always leave one space between Roman words).
2 Removes spaces between non-Roman characters (reduce multiple space
between non-Roman and Roman words to 1 space; do not add spaces if there
are none; always leave one space between Roman words).
3 Removes all spaces everywhere.
Type Non-Roman - Non-Roman Non-Roman - Roman Roman - Roman
0 Remove Remove 1 space
1 Remove 1 space* 1 space
2 Remove 1 space 1 space
3 Remove Remove Remove