Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

In real addition, (for example 3 + 7), the first argument is called the "augend", and the second argument is called the "addend".

In concatenating the string "ab" with "abb", to form the string "ababb", are there commonly-used names for the arguments?

I'm asking this from the viewpoint of a software engineer and am after terms for documentation of the concatenation process and wasn't quite content with "string1" and "string2".

share|improve this question
7  
Nobody really calls the arguments of addition the augend and the addend. Maybe they did in 1874. Just call the arguments of the concatenation the arguments; there's no need to dig up obscure or obsolete terminology for something simple. –  MJD Feb 21 '13 at 3:21
1  
I'd also say operands. –  Kaster Feb 21 '13 at 3:24
    
This would probably be a better fit for programmers.se. At any rate, best practice is to name the strings something related to what their function is –  SSumner Feb 21 '13 at 3:24
    
Prefix and suffix? –  mjqxxxx Feb 21 '13 at 3:59
    
Left part and right part? –  Lubin Feb 21 '13 at 4:06

1 Answer 1

up vote 0 down vote accepted

I would call them "concatenands", because that seems the most logical to me. But I have a hunch you wouldn't find that word in a dictionary.

share|improve this answer
    
I'm giving you the accepted answer as you tried to help instead of chastising me for using "obscure/obsolete" terms. Can you think of a way to differentiate them so it's clear that one comes before the other, and it's a non-commutative operation? –  studro Oct 1 '13 at 4:46
    
You could call them the "preconcatenand" and "postconcatenand" (possibly hyphenating). This is inspired by matrix multiplication (which is also in general non-commutative), wherein we talk about "pre-multiplying" and "post-multiplying" by a matrix. –  Hammerite Oct 1 '13 at 20:42
    
Thanks, this is exactly what I was after ~8 months ago! I'll keep these terms in mind for future. –  studro Oct 3 '13 at 1:05

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.