[Logo]
Forums Register Login
Replace URL
Hello,
I've a string with so many urls like "This string causes trouble http://www.abc.com and this also https://www.abc.com and this also www.xyz.com. Ive to display it as links in the page.How do i do that? Any inbuilt functions to do this?
hi
- check out the java.util.regexp package.
- do it yourself with a StringTokenizer
karl
As links to what on what kind of page? What trouble are you having? What code are you using? Do you have a guess as to why you're experiencing a problem?
He does not suffer fools gladly. But this tiny ad does:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss


This thread has been viewed 635 times.

All times above are in ranch (not your local) time.
The current ranch time is
Jul 22, 2018 21:48:17.