Cows allows to join elements into a single string.
Added in G-Cows version 1.3
join (array
[],separator
)
Return a string consisting of array elements separated by separator
.
sections [ ] = { "About Us", "Documentation", "Download", "Contact" }; print (join (sections [ ], " | "));
These lines will display:
About Us | Documentation | Download | Contact
This manual can be downloaded from http://www.g-cows.org/.