# File rexml/functions.rb, line 201
    def Functions::substring_before( string, test )
      string[ 0...string.index(test) ]
    end