0Pricing
Mojo Academy · Lesson

Strings and Text

Store and combine text values.

Text Is a String

Any sequence of characters, like a name or a message, is a String. It is how programs hold human-readable text. 💬

Make a String

Wrap text in double quotes to create a String, then store it in a var so you can reuse the text later.

var name = "Ada"

All lessons in this course

  1. Declaring Values with var
  2. Int, Float, and Bool
  3. Strings and Text
  4. Type Annotations That Help
← Back to Mojo Academy