Tutorial by Examples

01 some-string PIC X(32). ... MOVE " a string literal" TO some-string DISPLAY ":" some-string ":" DISPLAY ":" FUNCTION TRIM(some-string) ":" DISPLAY ":" FUNCTION TRIM(some-string LEADING) ":" DISPLAY ":" F...
MOVE FUNCTION UPPER-CASE("Hello World!") TO SOME-FIELD DISPLAY SOME-FIELD Output HELLO WORLD!
MOVE FUNCTION LOWER-CASE("HELLO WORLD!") TO SOME-FIELD DISPLAY SOME-FIELD Output hello world!

Page 1 of 1