Concatenate

created by Webster 1913
(idea) by flamingweasel (2.2 y) (print)   (I like it!) Mon Apr 17 2000 at 6:53:18
When used in programming, this usually means to tack one thing onto the end of another thing.

Users of c can use strcat(string1, string2) where string1 and string2 are pointers to the beginning of arrays of type char. This cuts the terminating null character off the first string, then copies in the second string (including the null char). If the first string isn't big enough, the function pukes. Otherwise, it returns the pointer to the first string. Oh, and include string.h to use this function.

As with most things, perl is a lot easier. Just do something like $string3 = $string1 . $string2

(definition) by Webster 1913 (print) Tue Dec 21 1999 at 22:38:08

Con*cat"e*nate (?), v. t. [imp. & p. p. Concatenated; p. pr. & vb. n. Concatenating.] [L. concatenatus, p. p. of concatenare to concatenate. See Catenate.]

To link together; to unite in a series or chain, as things depending on one another.

This all things friendly will concatenate. Dr. H. More

 

© Webster 1913.

Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.