verbs - Is there a word meaning "append", but at the beginning, not the end?



In computer programming, when you append a "string" to another, you add it to the end of the former string.


E.g.


String string1 = "abcd";
String string2 = "efgh";

Appending the two strings would give


"abcdefgh"

But what if I wanted to add string2 before string1 to have the result:


"efghabcd"

What would be a good name for that that reverse operation? What is the opposite of "append"?



Answer



Prepend:



(computing, linguistics, transitive) To attach (an expression, phrase, etc.) to another, as a prefix.



Comments

Popular posts from this blog

verbs - "Baby is creeping" vs. "baby is crawling" in AmE

commas - Does this sentence have too many subjunctives?

grammatical number - Use of lone apostrophe for plural?

etymology - Where does the phrase "doctored" originate?

phrases - Somebody is gonna kiss the donkey

typography - When a dagger is used to indicate a note, must it come after an asterisk?

etymology - Origin of "s--t eating grin"