Ross Bamford [mailto:rossrt / roscopeco.co.uk] wrote:

# Perhaps you are looking for shellwords?
# 
# require 'shellwords'
# Shellwords.shellwords %{this is "just a" test}
# # => ["this", "is", "just a", "test"]

Yes! very cool. That's it, Ross.

I am also considering Ara's yaml solution for some (very long text) cases.

Thank you, Ross and Ara.

kind regards -botp