Method String.implode_nicely()
- Method
implode_nicely
stringimplode_nicely(array(string|int|float)foo,string|voidseparator)- Description
This function implodes a list of words to a readable string, e.g.
({"straw","berry","pie"})becomes"straw, berry and pie". If the separator is omitted, the default is"and". If the words are numbers they are converted to strings first.- See also