NATIONAL-OF
The NATIONAL-OF function returns a character string containing the national character internal representation of the characters in the argument.
Syntax 1
function national-of (arg-1, [arg-2]) |
Syntax 2
$national-of (arg-1, [arg-2]) |
Arguments
• arg-1 must be an alphanumeric data item or literal.
• arg-2 must be a national data item or literal, one character in length.
Result
The function returns a character string where each alphanumeric character and each national character in arg-1 is converted to its corresponding national internal format. In the rare case that no corresponding national character exists, arg-2 is used; if arg-2 was omitted, then ‘?’ is used.
Examples
Example - Display the national representation of the EURO sign.
display function national-of("€"). |