From WikiChip
Difference between revisions of "string manipulation"

(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...")
(No difference)

Revision as of 22:53, 22 December 2013

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