pike.git / lib / modules / String.pmod

version» Context lines:

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