What does string mean?
A sequence of characters, such as a word or a sentence, written between quotes. Strings can be joined, sliced, compared and printed.
In a lesson
Text in a program is a string: a string of characters, in order. Robots report what they are doing in strings, users type strings, and messages between robots are strings. This lesson is about taking strings apart and putting them together.
Learn it
- Taught in F3.1 String handling Strings, lists and records, GCSE
Used in
- F1.2 Output: print
- F1.7 Input from the user
- F1.8 Data types and casting
- F2.2 Selection: if
- F3.2 Character codes and conversion
- F3.3 Lists: one-dimensional arrays
- F3.6 Records
- F3.8 Project: survey the room
- F5.3 Pseudocode and the exam reference language
- F6.3 Testing and test data
and 89 more lessons.
Do the lesson in the simulator