For Programmers: Free Programming Magazines  


Home > Archive > PERL Programming > July 2004 > Starting Position of the string









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Starting Position of the string
csuresh01

2004-07-15, 10:31 am

Hi All,

I am fairly new to this group and to perl

I have some HTML Pages I have to parse the files and get some results from that.

For Example :

$tmp ="<tr bgcolor=#CCFFFF><td><a href="/Tracking/SmcRel30Story">SmcRel30Story</a></td>"

From the $tmp variable I want to know what is postion of the "<td>".
Then I have to extract the value between href like this /Tracking/SmcRel30Story

Can some one pls help me how to proceed this immediately

Regards
CS
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com