From WikiChip
Editing string manipulation
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
This page supports semantic in-text annotations (e.g. "[[Is specified as::World Heritage Site]]") to build structured and queryable content provided by Semantic MediaWiki. For a comprehensive description on how to use annotations or the #ask parser function, please have a look at the getting started, in-text annotation, or inline queries help pages.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | '''String manipulation''' (or '''string handling''') is | + | '''String manipulation''' (or '''string handling''') is a mechanism or a library feature of most [[programming language]]s that provides the capabilities of performing various operations on [[string]]s. 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 [[function]]s and various other low-level functionality for manipulating the contained characters. | Typically, most programming languages provide a [[string]] [[data type]] that holds a sequence of characters. Such types often expose a set of [[function]]s 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|String manipulation - ALGOL|l1=String manipulation}} | |
− | |||
− | |||
− | |||
− | == | + | == C# == |
− | + | {{main|String manipulation - C Sharp|l1=String manipulation}} | |
− | + | == C == | |
− | + | {{main|String handling - C|l1=String handling}} | |
− | {| | ||
− | | | ||
− | + | == C++ == | |
− | + | {{main|String manipulation - C++|l1=String manipulation}} | |
− | |||
− | |||
− | |||
− | + | == Delphi == | |
− | + | {{main|String manipulation - Delphi|l1=String manipulation}} | |
− | |||
− | |||
− | |||
− | |||
− | + | == Go == | |
− | + | {{main|String manipulation - Go|l1=String manipulation}} | |
− | |||
− | |||
− | |||
− | |} | + | == Haskell == |
− | + | {{main|String manipulation - Haskell|l1=String manipulation}} | |
− | + | == Java == | |
+ | {{main|String manipulation - Java|l1=String manipulation}} | ||
+ | |||
+ | == JavaScript == | ||
+ | {{main|String manipulation - JavaScript|l1=String manipulation}} | ||
+ | |||
+ | == Lua == | ||
+ | {{main|String manipulation - Lua|l1=String manipulation}} | ||
+ | |||
+ | == mIRC == | ||
+ | {{main|String manipulation - mIRC|l1=String manipulation}} | ||
+ | |||
+ | == PHP == | ||
+ | {{main|String manipulation - PHP|l1=String manipulation}} | ||
+ | |||
+ | == Python == | ||
+ | {{main|String manipulation - Python|l1=String manipulation}} | ||
+ | |||
+ | == Ruby == | ||
+ | {{main|String manipulation - Ruby|l1=String manipulation}} |