pike.git / lib / modules / String.pmod

version» Context lines:

pike.git/lib/modules/String.pmod:1:   #define BEGIN 32    + constant count=__builtin.string_count; +    /*    * Implode an array of strings to an english 'list'    * ie. ({"foo","bar","gazonk"}) beomces "foo, bar and gazonk"    */   string implode_nicely(string *foo, string|void and)   {    if(!and) and="and";    switch(sizeof(foo))    {    case 0: return "";