Art of Problem Solving
During AMC 10A/12A testing, the AoPS Wiki is in read-only mode and no edits can be made.

String: Difference between revisions

James4l (talk | contribs)
New page: A '''string''' is a datatype that signifies an ordered sequence of characters. For example, "23958a23b" is a string. Note that "222" is not equal to the number 222. A special s...
 
I like pie (talk | contribs)
mNo edit summary
Line 1: Line 1:
A '''string''' is a [[datatype]] that signifies an ordered sequence of [[characters]].  
A '''string''' is a [[datatype]] that signifies an ordered sequence of [[character]]s.


For example, "23958a23b" is a string.
For example, "4f38fjy7a" is a string.


Note that "222" is not equal to the number 222.
Note that "222" does not equal the number 222.


A special string function is concatenation.
A special string function is [[concatenation]]: "abc"+"789"="abc789".
 
[[Concatenate]]: "222"+"123"="222123"


{{stub}}
[[Category:Datatypes]]
[[Category:Datatypes]]
{{stub}}

Revision as of 21:39, 12 December 2008

A string is a datatype that signifies an ordered sequence of characters.

For example, "4f38fjy7a" is a string.

Note that "222" does not equal the number 222.

A special string function is concatenation: "abc"+"789"="abc789".

This article is a stub. Help us out by expanding it.