Lecture overview -- Keyboard shortcut: 'u'  Previous page: Vectors -- Keyboard shortcut: 'p'  Next page: Definitions [Section] -- Keyboard shortcut: 'n'  Lecture notes - all slides and notes together  slide -- Keyboard shortcut: 't'  Help page about these notes  Alphabetic index  Course home  Lecture 1 - Page 22 : 49
Programming Paradigms
Introduction to Functional Programming in Scheme
Strings

String is an array-like data structure of fixed size with elements of type character.

  • The string and vector types have many similar functions

  • A number of functions allow lexicographic comparisons of strings:

    • string=?, string<?, string<=?, ...

    • There are case-independent, ci, versions of the comparison functions.

  • The substring function extracts a substring of a string

Like lists, strings are important for many practical purposes, and it may therefore be important to familiarize yourself with the string functions in Scheme