Let's say I have the following code
arr = ["a", "b", "c", "d"...]
I don't know how many items there may be, but I know it'll be a multiple of two. How would I go about appending every pair of items together, leaving me with
arr = ["ab", "cd"...]
?