String (computer Science) - 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:  String (computer Science)

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

    But the wise know that foolish legislation is a rope of sand, which perishes in the twisting; that the State must follow, and not lead the character and progress of the citizen; the strongest usurper is quickly got rid of; and they only who build on Ideas, build for eternity; and that the form of government which prevails, is the expression of what cultivation exists in the population which permits it.
    Ralph Waldo Emerson (1803–1882)

    ... looped with the creep of varying light,
    Monkey-brown, fish-grey, a string of infected circles
    Loitering like bullies, about to coagulate....
    Philip Larkin (1922–1986)

    Mark the babe
    Not long accustomed to this breathing world;
    One that hath barely learned to shape a smile,
    Though yet irrational of soul, to grasp
    With tiny finger—to let fall a tear;
    And, as the heavy cloud of sleep dissolves,
    To stretch his limbs, bemocking, as might seem,
    The outward functions of intelligent man.
    William Wordsworth (1770–1850)