Converts all words in an argument to proper case.
Category: | Character |
Restriction: | I18N Level 2 functions are designed for use with SBCS, DBCS, and MBCS (UTF8). |
data names; infile datalines dlm='#'; input CommonName : $20. CapsName : $20.; PropcaseName=propcase(capsname, " -'"); datalines; Delacroix, Eugene# EUGENE DELACROIX O'Keeffe, Georgia# GEORGIA O'KEEFFE Rockwell, Norman# NORMAN ROCKWELL Burne-Jones, Edward# EDWARD BURNE-JONES ; proc print data=names noobs; title 'Names of Artists'; run;