Let me start by saying this-- I have no experience with regular expressions. Simply put, I want a function that turns an array [eg: func(array)] into... an array, but add ONE space on both values. Meaning:
array = ['red','blue'] #returns ['red','blue'] array = func(array) # returns [' red ',' blue ']
Is it possible to do this? If so, how would I? If you could show me an example, and explain how you did it, that would be great! Thanks!