Stringology - Character String Functions

Character String Functions

See also: Comparison of programming languages (string functions)

String functions are used to manipulate a string or change or edit the contents of a string. They also are used to query information about a string. They are usually used within the context of a computer programming language.

The most basic example of a string function is the length(string) function, which returns the length of a string (not counting any terminator characters or any of the string's internal structural information) and does not modify the string. For example, length("hello world") returns 11.

There are many string functions that exist in other languages with similar or exactly the same syntax or parameters. For example, in many languages, the length function is usually represented as len(string). Even though string functions are very useful to a computer programmer, a computer programmer using these functions should be mindful that a string function in one language could in another language behave differently or have a similar or completely different function name, parameters, syntax, and results.

Read more about this topic:  Stringology

Famous quotes containing the words character, string and/or functions:

    Have you not budged an inch, then? Such is the daily news. Its facts appear to float in the atmosphere.... We should wash ourselves clean of such news. Of what consequence, though our planet explode, if there is no character involved in the explosion? In health we have not the least curiosity about such events. We do not live for idle amusement. I would not run round a corner to see the world blow up.
    Henry David Thoreau (1817–1862)

    A culture may be conceived as a network of beliefs and purposes in which any string in the net pulls and is pulled by the others, thus perpetually changing the configuration of the whole. If the cultural element called morals takes on a new shape, we must ask what other strings have pulled it out of line. It cannot be one solitary string, nor even the strings nearby, for the network is three-dimensional at least.
    Jacques Barzun (b. 1907)

    Those things which now most engage the attention of men, as politics and the daily routine, are, it is true, vital functions of human society, but should be unconsciously performed, like the corresponding functions of the physical body.
    Henry David Thoreau (1817–1862)