flatten

Definition: sequence res = flatten(sequence s)
Description: Remove all nesting from a sequence.

Returns a sequence of atoms.
Comments: Empty sub-sequences are stripped out entirely.

Unlike the (broken) OpenEuphoria version of flatten, there is no optional delimiter: for something like {"this","that"} -> "this\nthat", use join(), which is usually much more appropriate for string processing.
Example: You can use flatten() on a tree-like structure, e.g.
s = flatten({18,{ 19, {45}}, {18.4, {}, 29.3}})
-- s is {18, 19, 45, 18.4, 29.3}
See Also: join