If separator is the newline character ("\n") the resulting string will be terminated with a newline character. This is done to have a text file that consists of N lines (each of which is terminated with a newline) and is read in with the fileread() function and split into an array of N strings to be joined to the original string as read from the file.
Příklad
string a[] = { "Field 1", "Field 2", "Field 3" }; string s = strjoin(a, ":");
OBSAH | Translation © 2001 ELCAD v.o.s., Copyright © 2001 CadSoft Computer GmbH |