I need to add quotes to each word in a string. Here is something that works but it looks ugly to me;
"this is a test".split.to_s.delete(",")
"\"this\" \"is\" \"a\" \"test\""
split adds the quotes, to_s turns the array back to a string, then the delete removes the array stuff. The downside is the case where the data includes
I welcome your responses!