dcsimg
Main » TERM » P »

Programming String Definition & Meaning

A programming string is a combination of characters joined together or multiple strings joined in a longer string. It can either remain unchanged or can be changed, depending on the type of string and the programming language. Different languages have mutable (changeable) and immutable (unchangeable) strings. Strings can also be fixed or variable in length. In Python, for example, each character is its own immutable string, and those strings are joined together to form longer strings.

String literals

A string literal is a character or character string that holds the same value and remains unchanged. Instead of using variables to perform a specific function within the string, a string literal remains the same in both code and published content. To denote a string literal within programming, most languages use delimiters, which bracket or set apart the string (often using parentheses, quotation marks, or brackets).

String concatenation

Concatenation joins characters or strings together, often using a symbol called an operator (commonly + ). Concatenation can create compound character strings by joining two strings. Concatenation may not always require an operator for two string literals (in Python, for example). Some programming languages don't easily concatenate strings and require more complicated functions to join them.










LATEST ARTICLES
Texting & Chat Abbreviations

From A3 to ZZZ we list 1,559 text message and online chat abbreviations to help you translate and understand today's texting lingo. Includes Top... Read More »

Huge List of Computer Certifications

Have you heard about a computer certification program but can't figure out if it's right for you? Use this handy list to help you decide. Read More »

STUDY GUIDES
Computer Architecture Study Guide

Computer architecture provides an introduction to system design basics for most computer science students. Read More »

Network Fundamentals Study Guide

Networking fundamentals teaches the building blocks of modern network design. Learn different types of networks, concepts, architecture and... Read More »

The Five Generations of Computers

Learn about each of the five generations of computers and major technology developments that have led to the computing devices that we use... Read More »