From WikiChip
string manipulation
Revision as of 21:53, 22 December 2013 by David (talk | contribs) (Created page with "'''String manipulation''' (or '''string handling''') is a mechanism or a library feature of most programming languages that provides the capabilities of performing various...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

String manipulation (or string handling) is a mechanism or a library feature of most programming languages that provides the capabilities of performing various operations on strings. Typically such operations include performing basic tasks such as concatenation, copying, tokenization, searching, and replacing.

Typically, most programming languages provide a string data type that holds a sequence of characters. Such types often expose a set of functions and various other low-level functionality for manipulating the contained characters.

Below is a summary of various string manipulation facilities in different languages.

ALGOL

Main article: String manipulation


C#

Main article: String manipulation


C

Main article: String handling


C++

Main article: String manipulation


Delphi

Main article: String manipulation


Go

Main article: String manipulation


Haskell

Main article: String manipulation


Java

Main article: String manipulation


JavaScript

Main article: String manipulation


Lua

Main article: String manipulation


mIRC

Main article: String manipulation


PHP

Main article: String manipulation


Python

Main article: String manipulation


Ruby

Main article: String manipulation