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

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

First floor vs ground floor, usage origin

usage - "there doesn't seem" vs. "there don't seem"

pronunciation - Where does the intrusive R come from in “warsh”?

Abbreviation of "Street"

etymology - Since when has "a hot minute" meant a long time?

meaning - What is synonyme of "scale"?