RosettaCodeData/Task/String-case/PL-I/string-case-2.pli
2023-07-01 13:44:08 -04:00

5 lines
310 B
Text

/* 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') );