in reply to Join with x operator
The x operator can act as a list multiplier as well as a string multiplier. The parentheses around ("hello") make it a list and the x 5 turns the statement into
print join("\n", ("hello", "hello", "hello", "hello", "hello")), "\n\n +";
I hope that makes things clearer.
Cheers,
JohnGG
|
|---|