Skip to main content
What does one do with strings?
- By far, the two most important activities involving strings are:
- One compares two sequences for equality (or sometimes, sort order)
- One copies (by assignment or construction) a sequence to save it for later
- Less importantly
- One constructs a new sequence based on changes to an existing sequence or sequences, e.g., concatenation
- One examines the sequence, `parsing' it for higher-level meaning consider substring searching in this context
[Previous] [Next]