problem with this code:
parseIcmPage url, '<ul id="topListFilter"', '<div id="footer">'
def parseIcmPage(url, start_point, end_point)
data = getHtmlPage url
s = data.index(start_point)
e = data.index(end_point, s)
len = e-s
list_str = data.index[s, len]
puts list_str, '\n'
end
icm.rb:42: warning: don't put space before argument parentheses
./util.rb:121:in `index': wrong number of arguments (0 for 1) (ArgumentError)
from ./util.rb:121:in `parseIcmPage'
from icm.rb:42
not sure why i am getting argumenterror. As can be seen i am passing '<ul id="topListFilter"' as argument 1.