# File lib/ruby-vpi/util.rb, line 13
  def rstrip_from char
    sub(/#{char}[^#{char}]*$/, '')
  end