Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

prepend?

Status
Not open for further replies.

CasperTFG

Programmer
Nov 15, 2001
1,210
US
I use this word all the time, I think its a pretty commonplace opposite of append.

Eg. Prepend your name with Mr. or Mrs.

Makes sense to me but I was surprised to find that the spell checker coughed on it. Then on a web search found that it is not a real word... Who woulda thunk it.

Casper

There is room for all of gods creatures, "Right Beside the Mashed Potatoes".
 
It's either a prefix (SUBmarine, for example, or PREdisposed) or a title (Mr, Mrs, Ms, Capt).

Although I would understand what a prepend is, I can't see the need for it as a word...

-------------------------
Just call me Captain Awesome.
 
I had a bad example above. But from what I have looked up Prefix is meant for use with a verb.
Source: The Free On-line Dictionary of Computing, © 1993-2005 Denis Howe

prepend

/pree`pend'/ vt. [by analogy with `append'] To prefix.
As with `append' (but not `prefix' or `suffix' as a verb), the
direct object is always the thing being added and not the original
word (or character string, or whatever). "If you prepend a
semicolon to the line, the translation routine will pass it through
unaltered."



Casper

There is room for all of gods creatures, "Right Beside the Mashed Potatoes".
 
Interesting one - append does not specifically mean to 'add at the end', it only means to add, so in fact you can append to the front of something. Prepend is only relevant in computing AFAIK.

How can you tell if a Systems Engineer is an extrovert? - He looks at Your shoes when he talks to you.
 
Yes, it's technical jargon, where "append" and "prepend" are related to concatenation. "Append" means to add something to the end of another value, and "prepend" means to add something to the front of another value.

Thomas D. Greer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top