Method: REXML::Functions.substring_after
- Defined in:
- lib/rexml/functions.rb
.substring_after(string, test) ⇒ Object
Kouhei fixed this too
220 221 222 223 224 |
# File 'lib/rexml/functions.rb', line 220 def Functions::substring_after( string, test ) ruby_string = string(string) return $1 if ruby_string =~ /#{test}(.*)/ "" end |