I imagine you meant "lead" and "trail".
I agree, one might as well propose "append" and "prepend" in their place.
However, I suggest "lead" and "trail" since they are commonly used in such
parlance as 
"leading dots ...", or "trailing dashes ..." or the like.
But well, append and prepend could be voted for as well.

Ash



-----Original Message-----
From: Charles Hudak [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 25, 2003 00:51

Oh, and by the way, the method signature would probably look like this:

public String append(String base, String suffix){...}
public String prepend(String base, String prefix){...}

-----Original Message-----
From: Charles Hudak [mailto:[EMAIL PROTECTED]

The ideas of 'flank' and 'lead' are better suggested through the use of the
terms "append" and "prepend".

When you 'flank' "abc" with "def" you are appending the string "abc" with
"def"
StringUtils.append("abc", "def"); //-->"abcdef"

When you 'lead' "abc" with "def" you are prepending the string "def" to
"abc"
StringUtils.prepend("abc", "def"); //-->"defabc"



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to