This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Replace URL

 
Devutty Pradeep
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
karl koch
Ranch Hand
Posts: 388
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
- check out the java.util.regexp package.
- do it yourself with a StringTokenizer
karl
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic