Hi Sapna,

The HTML code was not there , But you can try this

string=ie.link(:id,'yourlink'sID').text
mytext=string.split('  ') #Separated by space
yourtext=mytext[mytext.length - 1]

For more help you can refer array class in ruby
Let me know if it is helpful

Ajitesh
_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to