String
Exit Slideshow

Summary

A string stores text as a sequence of characters. It is usually written in quotes. Key facts to remember: a string is often immutable; you can read its length; access a character by index; get parts with a slice; combine values with concatenate; search with find or similar; compare with ==. Remember escape sequences for quotes and newlines. Most languages use Unicode encoding to represent characters.
Slide 1 / 5