RosettaCodeData/Task/String-case/PL-I/string-case-2.pli

6 lines
310 B
Text
Raw Permalink Normal View History

2013-04-11 01:07:29 -07:00
/* An alternative to the above, which might be used if some */
/* non-standard conversion is required, is shown for */
/* converting to upper case: */
put skip list ( translate(s, 'abcdefghijklmnopqrstuvwxyz',
'ABCDEFGHIJKLMNOPQRSTUVWXYZ') );