Archive of UserLand's first discussion group, started October 5, 1998.
Re: Please help me (Solution)
Author: deutz Posted: 3/7/2000; 5:11:03 PM Topic: Please help me Msg #: 15444 (In response to 15430) Prev/Next: 15442 / 15445
Magnus,First, there needs to be some difference between the begining and the end notation that signals that something needs to be linked -- other wise, how is the code supposed to know when to begin the link and end it?
Example:
This is some data that **needs** to be **linked**.
We could link the words "needs" and "linked" because they are between the **'s -- but we should also link " to be " since they are ALSO between the **'s, right?
So with that in mind, I have hacked out a simple function that you can pass in your string to be linked, a begining token and an end token. If this does not post correctly, email me and I will send it via email or whatever. I hope this helps.
** Please note, the bulk of this code is based on http://www.asp101.com Url link sample code.
...
I tried to paste in the code, but it looked horrid. Please visit here:
and download the server code by hitting the view code link.
I hope this helps & I'd love to hear if anyone else has any better solutions since this is something that everyone could use in their reusable code libs...
This page was archived on 6/13/2001; 4:54:29 PM.
© Copyright 1998-2001 UserLand Software, Inc.