# File rexml/functions.rb, line 147 def Functions::substring( string, start, length=0 ) length = string.size if length==0 string[start-1,length] end