String manipulation topic 
Author Message
 String manipulation topic

I want to extract the url from the tag like :-
<a href="asjhdajshd.com">shdkasjhd</a>

so I want to extract "asjhdajshd.com"



Sat, 17 Apr 2004 16:33:30 GMT  
 String manipulation topic
document.links[whatevever].href returns that...
you can use the id if you want


Quote:
> I want to extract the url from the tag like :-
> <a href="asjhdajshd.com">shdkasjhd</a>

> so I want to extract "asjhdajshd.com"



Sat, 17 Apr 2004 18:49:08 GMT  
 String manipulation topic
Yeah , but I cant use id
and there are many links so i need
the output in an array


Quote:
> document.links[whatevever].href returns that...
> you can use the id if you want



> > I want to extract the url from the tag like :-
> > <a href="asjhdajshd.com">shdkasjhd</a>

> > so I want to extract "asjhdajshd.com"



Sat, 17 Apr 2004 20:04:34 GMT  
 String manipulation topic
Mandar wrote on 30 Oct 2001 in microsoft.public.scripting.jscript:

Quote:
> Yeah , but I cant use id
> and there are many links so i need
> the output in an array

<script language="VBScript">

   for each x in document.links

     document.write x.href & "<br>"

   next

</script>

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)



Sat, 17 Apr 2004 21:10:40 GMT  
 String manipulation topic
See documentation about regular expressions.

Windows Script Documentation
http://download.microsoft.com/download/winscript56/Install/5.6/W982KM...

--
Charity sees the need not the cause. -German proverb

=-=-=
Steve
-=-=-

Quote:

> I want to extract the url from the tag like :-
> <a href="asjhdajshd.com">shdkasjhd</a>

> so I want to extract "asjhdajshd.com"



Sat, 17 Apr 2004 19:58:01 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. TDateTimeField / TDateField Issue

2. Cheap and qualified software!

3. String manipulation topic

4. String manipulation topic

5. string manipulation, string routines, etc.

6. Looking for a yearplanner-component

7. heterogeneous queries

8. Q: BDE minimum install

9. Delphi/Paradox timestamp help needed

10. Help for all pascal programmers

11. need help on creating an algoritm

12. Catching the "General exception" message.

 

 
Powered by phpBB® Forum Software