fork download
  1. int main() {
  2. string str = "The quick brown fox jumps over the lazy dog";
  3.  
  4. array(string) ary = str / " ";
  5. // => ({ "The", "quick", "brown", "fox", "jumps", "over", "the", "lazy", "dog" })
  6.  
  7. string s2 = ary * ", ";
  8. write("%O\n", s2);
  9. // => "The, quick, brown, fox, jumps, over, the, lazy, dog"
  10.  
  11. return 0;
  12. }
Success #stdin #stdout 0.06s 6664KB
stdin
Standard input is empty
stdout
"The, quick, brown, fox, jumps, over, the, lazy, dog"