Strings and text
Alphanumeric fields and the padding a MOVE gives them, INSPECT, STRING and UNSTRING, reference modification and the intrinsic string functions. ACCEPT and DISPLAY, text that becomes a number and back, and a CSV line split into fields come next. The part ends on code pages and on what a UTF-8 literal does here.
033
Alphanumeric fields and padding
PIC X, space padding at MOVE, LENGTH OF, trailing spaces and a comparison that surprises
Open
034
INSPECT TALLYING
BEFORE and AFTER, ALL, and counting the characters of a line
Open
035
INSPECT REPLACING and CONVERTING
REPLACING ALL, CONVERTING, and a case change done character by character
Open
036
STRING with POINTER
DELIMITED BY SIZE and SPACE, WITH POINTER, ON OVERFLOW, and a line built from fields
Open
037
UNSTRING with delimiters
DELIMITED BY, COUNT IN, TALLYING IN, and a CSV field split into four
Open
038
Reference modification
field(start:length), taking a substring, and the bounds that 3.2 checks
Open
039
TRIM, UPPER-CASE and LOWER-CASE
FUNCTION TRIM, UPPER-CASE, LOWER-CASE and LENGTH, and a name normalised for a key
Open
040
ACCEPT and DISPLAY
DISPLAY with NO ADVANCING, ACCEPT from standard input, a prompt, and a screen section named
Open
041
Text to number and back
FUNCTION NUMVAL, NUMVAL-C, MOVE into PIC 9, and a field that does not parse
Open
042
Parsing a CSV line
UNSTRING, a quoted field, a numeric field that fails, and the line number in the message
Open
043
ASCII, EBCDIC and UTF-8
code pages, ASCII and EBCDIC in SPECIAL-NAMES, and what 3.2 does with a UTF-8 literal
Open