Prepend

Why Trust Techopedia

What Does Prepend Mean?

Prepend is a word that means to attach content as a prefix. It is often used in different kinds of programming and in automated processes.

Advertisements

Techopedia Explains Prepend

Some prepending is done manually as a user. For example, a prepend command could be used in a scripting language that a programmer would enter into a certain function or code module. It would add certain characters of text to the beginning of some variable or object.

Other kinds of prepending are automated. For instance, in JQuery and other tools, there is the ability to automatically prepend each paragraph with a certain element. In general, “prepend” can be used similarly to the command “append,” where instead of adding content onto the end of a string or variable, the content is added at the beginning.

Advertisements

Related Terms

Margaret Rouse
Senior Editor
Margaret Rouse
Senior Editor

Margaret is an award-winning technical writer and teacher known for her ability to explain complex technical subjects to a non-technical business audience. Over the past twenty years, her IT definitions have been published by Que in an encyclopedia of technology terms and cited in articles by the New York Times, Time Magazine, USA Today, ZDNet, PC Magazine, and Discovery Magazine. She joined Techopedia in 2011. Margaret's idea of a fun day is helping IT and business professionals learn to speak each other’s highly specialized languages.