Previous Page | Next Page

Functions for NLS

KPROPCHAR Function



Converts special characters to normal characters.
Category: DBCS

Syntax
Arguments
Details
Example

Syntax

str=KPROPCHAR(<instr>)


Arguments

str

result string. Special characters are converted to normal characters.

instr

input data string.


Details

This function converts special characters to normal characters. The KPROPCHAR function converts the characters from the following ranges:

Enclosed alphanumeric values: \u2460 to \u24FF. See http://www.unicode.org/charts/PDF/U2460.pdf.

Dingbats: \u2776 to \u2793. See http://www.unicode.org/charts/PDF/U2700.pdf.

Enclosed CJK letters and months: \u3200 to \u32FF. See http://www.unicode.org/charts/PDF/U3200.pdf.


Example

The following example demonstrates the functionality of the KPROPCHAR function:

length in1 out1 $30 ;
  in1=unicode('\u2460\u2473\u277F\u325F');
  out1=KPROPCHAR(in1);
  put out1;

RESULTS:
(1)(20)(-10)(35)

Previous Page | Next Page | Top of Page