method

substring_before

v1_8_7_72 - Show latest stable - Class: REXML::Functions
substring_before( string, test )
public

Kouhei fixed this