Appearance
3.4 Strings 字符串
The way statements are sequenced and combined in a program determines the computed result. Programs incorporate iteration and selection constructs to represent repetition and make decisions to handle varied input values.
- 程序中语句的排序和组合方式决定了计算结果。程序结合迭代和选择结构来表示重复并做出决策来处理各种输入值。
核心要点 Core Points
String concatenation joins together two or more strings end-to-end to make a new string.
- 字符串连接将两个或多个字符串端到端连接起来形成新字符串。
A substring is part of an existing string.
- 子字符串是现有字符串的一部分。
学生活动 Student Activities
- Evaluate expressions that manipulate strings.
- 计算操作字符串的表达式。
