String functions are used in computer programming languages to manipulate a string or query information about a string.
Examples are (this list is by no means exhaustive):
- searching strings for characters or other strings;
- extracting sub-strings or characters at a specific position;
- replacing text within a string with some other text;
- iterating over the characters in a string;
- concatenating strings.
For more details, see the Wikipedia "String Functions" page.
SQL String functions
A string function is a function that takes a string value as an input regardless of the data type of the returned value. In database management systems, there are many built-in string functions that can be used by developers. As an example: