You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is
highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If
there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.
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]