From: Wayne Brissette Date: 2011-10-31T19:40:29+09:00 Subject: Anything like FS in Ruby? Coming over from AppleScript, one of the things I haven't been able to find is something like AppleScript's Text Item Delimiters or Awk's FS, where you can define separators for text files. For example, if I have something like this: 1 2 If I set FS to , then I could capture 1, and 2. While this isn't a great example because there are many other ways to capture this via regex. This becomes more useful with much more convoluted things. I haven't been able to find anything similar in Ruby, which probably means I need to rethink how I capture blocks of text and store them into arrays and hashes. Wayne