Lesson 9. Multilingual text

After reading lesson 9, you’ll be able to

  • Access and manipulate individual letters
  • Cipher and decipher secret messages
  • Write your programs for a multilingual world

From "Hello, playground" at the beginning, you’ve been using text in your programs. The individual letters, digits, and symbols are called characters. When you string together characters and place them between quotes, it’s called a literal string.

Consider this

You know computers represent numbers with 1s and 0s. If you were a computer, how would you represent the alphabet and human language?

If you said with numbers, you’re right. Characters ...

Get Get Programming with Go now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.