@Narrow (Formula Language)
Converts full-pitch alphanumeric characters (double byte characters -- DBCS) in the specified string to half-pitch alphanumeric characters (single byte characters -- SBCS). This function works in Japanese, Korean, Simplified Chinese, and traditional Chinese environments. In the Japanese environment, this function can convert full-pitch Katakana as well.
Syntax
@Narrow( string )
Parameters
string
Text or text list. The string that you want to convert to single byte characters.
Return value
returnstring
Text or text list. The string converted to single byte characters.
Usage
If the parameter is a list, the function operates on each element of the list, and the return value is a list with the same number of elements.
This function can be used in input translation formulas to convert the contents of a field to single byte characters or in computed field formulas to save space for displaying the string.
Examples
- This input translation formula returns "Tokyo" as half-pitch
characters, if the Location field contains a full-pitch character
expression of "Tokyo."
@Narrow(Location)
- This computed field formula returns "New York" as half-pitch
characters to save space for displaying the string.
@Narrow("New York")
- This computed field formula returns the list "Tokyo" and "New
York" as half-pitch characters to save space for displaying the string.
@Narrow("Tokyo" : "New York")