method

substring_before

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

Kouhei fixed this