what would be an opposite of split()
in awk
?
Imagine I have array containig characters/integers.
What I\'ve tried:
color =
Knowing that the opposite of split()
is join()
, a mere Google Search gives me this page, which seems to contain the solution : http://www.gnu.org/software/gawk/manual/html_node/Join-Function.html . It joins all the elements of an array together, and returns the corresponding string.
['f','o','o'] => "foo"
Have fun