PDA

View Full Version : reading into a string?



angst
07-20-2004, 05:56 PM
hello,

how can i grab the text between two tags?

like


string = "blah blah blah [- url -] www.codingforums.com[/- url -] blah blah blah"


how can i grab the just the "www.codingforums.com" from that string?

thanks in advance for your time!

-angst

oracleguy
07-20-2004, 06:26 PM
Is it always going to be a URL? If so, you could use a regular expression to do that.

angst
07-20-2004, 06:28 PM
i just edited my first post,, just noticed that the url tags were not showing..

could you show me an example please?

thanks again for your time!
ken