Converts special characters to normal characters.
- str
-
result string. Special characters are converted
to normal characters.
- instr
-
input data string.
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. |
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)
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.