Go to the first, previous, next, last section, table of contents.

String Routines

Modula-3 supports strings via the built-in type TEXT and the Text module. The Text interface contains routines to convert between TEXT and ARRAY OF CHAR, as well as comparing two different strings and extracting a substring from a string. In addition to the Text interface, routines in the Fmt interface allow conversions from other data types such as INTEGER and REAL to TEXT, and the Scan interface converts from TEXT to other data types.


Go to the first, previous, next, last section, table of contents.