Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

String

Exercise 1 length

  1. Create a String "Hello, world"
  2. Print the length of the text.
  3. Split the text in words.
  4. Count the number of words.

Exercise 2 concat

  1. Create two Strings "Hello, " and "World"
  2. Concatenate the two Strings
  3. Merge the two String with s-interpolated String