Delete substrings.rb