roxen.lists.pike.general

Subject Author Date
Re: Pike function for choosing proper article for a word (a or an) Threshold <mlist[at]thresholdrpg[dot]com> 21-09-2009
 ?
Martin Stjernholm wrote:
>> String.implode_nicely(({"a", "b", "c"}));
>>     
> (2) Result: "a, b and c"
>   
>> String.implode_nicely(({"a", "b", "c"}), "or");
>>     
> (3) Result: "a, b or c"
>
>
>   

Funny you should mention that function. It always vexed me, since to me 
"nicely" would be:

a, b, and c

a, b, or c

Thanks for the response.



-- 
Michael A. Hartman, J.D.
President and CEO, Frogdice, Inc.
http://www.frogdice.com