Concatenation Definition & Meaning

Concatenation, broadly speaking, is the linking or joining of two things to achieve a certain result. In computer programming, it links two characters or character strings together to create a phrase or compound word. This process is also known as string theory. Concatenating two separate files requires the user to append one to the other (rather than inserting).

Concatenation is mathematical, using algebraic processes to join characters into strings and strings into different strings. Symbols known as operators join the character strings together; they differ depending on the programming language being used. These symbols allow users to manipulate the page s text. A common operator is +, which adds two character strings together. Some programming languages don t always need an operator: if two string literals are joined in C++ or Python, they may not require one. A literal is itself a value, and it can be a character or a string.

In Python, each character exists as its own immutable string. Concatenation requires two strings (not a string and an integer; this triggers an error). Four methods of concatenation in Python include + operator, % operator, format () function, and join() method. Again, + operator is common and simple in Python.

Abby Dykes
Abby Dykes
Abby Dykes is a newly-graduated writer and editor for websites such as TechnologyAdvice.com, Webopedia.com, and Project-Management.com. When she’s not writing about technology, she enjoys giving too many treats to her dog and coaching part-time at her local gym.

Top Articles

Huge List Of Texting and Online 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...

How To Create A Desktop Shortcut To A Website

This Webopedia guide will show you how to create a desktop shortcut to a website using Firefox, Chrome or Internet Explorer (IE). Creating a desktop...

The History Of Windows Operating Systems

Microsoft Windows is a family of operating systems. We look at the history of Microsoft's Windows operating systems (Windows OS) from 1985 to present...

Hotmail [Outlook] Email Accounts

  By Vangie Beal Hotmail is one of the first public webmail services that can be accessed from any web browser. Prior to Hotmail and its...

Unregulated Power Supply Definition...

An unregulated power supply is a system that transforms input voltage into direct...

Cybersecurity Awareness Training Definition...

Cybersecurity awareness training informs employees of the attack surfaces and vectors in their...

OST File Definition &...

An OST file, or offline storage table (.ost) file, is an Offline Outlook...