Skip to content

Concept: Strings #536

@jiegillet

Description

@jiegillet

Design

Goal

The Goal is to learn to use the String and Char modules.

Learning objectives

Students should be able to

  • insert unicode characters in strings
  • verify Char properties (isAlpha, isUpper...)
  • use basic string functions (length, replace...)
  • split and join strings (split, words, lines, (++), concat, join...)
  • cut up strings (slice, left...)
  • check for substrings (contains, startsWith...)
  • convert to and from other types (fromInt, toInt...)
  • format a string (toUpper, toLower, trim...)
  • use some higher order functions (all, any, filter...)

Out of scope

  • Nothing in particular, although there is probably too much to cover in details

Concepts

The concept this exercise unlocks is:

  • strings

Prerequisites

  • booleans
  • maybe
  • lists

Analyzer

TBD depending on the exercise

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions