Ask a Question related to ASP, Design and Development.
-
Lasse Edsvik #1
replace words with bold words
Hello
I was wondering if you guys could help me solve this using reg exp,
i have a searchpage and a variable keywords that holds a number of words.
e.g
keywords = "test car goose"
......
<%
do until rs.eof
%>
<%=rs("text")%>
and i was wondering if you guys know how to make the words test, car and
goose bold if exists in rs("text")?
/Lasse
Lasse Edsvik Guest
-
mark my words
Hello can anyone help. I have created a section in Director with markers in it, I want to merge it with another section , how do i copy yhe markers... -
Definition of these words
Can someone give me a quick & simple definition of the following: Twain Tagged file Gamma ICC Thanks. -
words function
Hi, I would like to have a function that will give me a random phrase based on the letters that I have given as input. The phrase must make... -
Replace words into a string with a space before or after
Hello. I've got a string with some words inside, and I'm trying to replace 'select' to 'choose'. ---------------------------------------------... -
Aaron Bertrand [MVP] #2
Re: replace words with bold words
> and i was wondering if you guys know how to make the words test, car and
[url]http://www.aspfaq.com/2344[/url]> goose bold if exists in rs("text")?
Aaron Bertrand [MVP] Guest
-
Tim #3
Re: replace words with bold words
what's the point in posting a link that doesn't work properly?
why not just answer the question?
I know you want to drive lots of traffic to your site but it doesn't seem to
be the most user-freindly way of replying.
Tim
"Aaron Bertrand [MVP]" <aaron@TRASHaspfaq.com> wrote in message
news:uCHnp21iDHA.2328@TK2MSFTNGP12.phx.gbl...>> > and i was wondering if you guys know how to make the words test, car and
> > goose bold if exists in rs("text")?
> [url]http://www.aspfaq.com/2344[/url]
>
>
Tim Guest
-
Bob Barrows #4
Re: replace words with bold words
Tim wrote:
The link works fine for me.> what's the point in posting a link that doesn't work properly?
Granted, this syntax would probably have been safer:
[url]http://www.aspfaq.com/show.asp?id=2344[/url]
but the link Aaron provided should have worked. What happens when you click
it?
Why not post a link if it contains the answer to the question. That's the> why not just answer the question?
purpose of creating a FAQ, isn't it? So people asking FAQ's can be directed
to the page containing the answer ...
We answer hundreds of questions every day. We should not be criticized for
using time-savers such as posting links to relevant pages.
It's the old saying: if I give a fish to a hungry person, he has dinner for> I know you want to drive lots of traffic to your site but it doesn't
> seem to be the most user-freindly way of replying.
>
that evening. If I teach him to fish, he has dinner for the rest of his
life.
By directing a person to a FAQ site, or to the results of a Google search,
we are making the person aware that there are resources available whch he
either overlooked, or was not aware of, resources which will probably get
him answers to his questions much quicker than can be expected from a
newsgroup, where questions can be left unanswered for hours, even days if no
one notices them.
Bob Barrows
Bob Barrows Guest
-
Aaron Bertrand - MVP #5
Re: replace words with bold words
> what's the point in posting a link that doesn't work properly?
What does "doesn't work properly" mean?
Because it's been answered before, and I don't think I should waste time> why not just answer the question?
constructing the exact same answer over and over again when, instead, I can
point the user to a link and answer any follow-up questions. And the time I
*didn't* spend constructing the same answer from scratch, I can use to
answer five other questions instead.
Really? What would I get out of that? There are no advertisements, the> I know you want to drive lots of traffic to your site
site is free, and there is no tangible benefit to "drive lots of traffic"
there... except that more traffic means a potentially more expensive hosting
bill due to bandwidth consumption and database usage. So, yes, you must be
right, I just want to drive traffic to my web site.
That may be your opinion. Based on the feedback (and donations) I get from> but it doesn't seem to
> be the most user-freindly way of replying.
my *free* and *ad-free* web site, I would guess that you're in the minority.
You're new around here, huh?
Aaron Bertrand - MVP Guest
-
Adrienne #6
Re: replace words with bold words
Gazing into my crystal ball I observed "Bob Barrows"
<reb01501@NOyahoo.SPAMcom> writing in
news:OpBw21BjDHA.2160@TK2MSFTNGP12.phx.gbl:
When I use [url]www.aspfaq.com/2344[/url] it goes to wholelist.asp. This might be>>> what's the point in posting a link that doesn't work properly?
> The link works fine for me.
>
> Granted, this syntax would probably have been safer:
> [url]http://www.aspfaq.com/show.asp?id=2344[/url]
>
> but the link Aaron provided should have worked. What happens when you
> click it?
>
>
because I use Opera, and maybe the site is doing some kind of browser
sniffing so I don't get the nice menu on the side.
No biggie, though. I just type the article in Opera's search box, and jump
right to it, although I _would_ like to have the nice menu on the side.
--
Adrienne Boswell
Please respond to the group so others can share
[url]http://www.arbpen.com[/url]
Adrienne Guest
-
Stefan Berglund #7
Re: replace words with bold words
On Mon, 06 Oct 2003 21:54:48 GMT, Adrienne <arbpen@sbcglobal.net>
wrote:
in <Xns940C97BDD3A13arbpenyahoocom@207.115.63.158>
It behaves the same way here. If you change quick preferences to>Gazing into my crystal ball I observed "Bob Barrows"
><reb01501@NOyahoo.SPAMcom> writing in
>news:OpBw21BjDHA.2160@TK2MSFTNGP12.phx.gbl:
>>>>>>> what's the point in posting a link that doesn't work properly?
>> The link works fine for me.
>>
>> Granted, this syntax would probably have been safer:
>> [url]http://www.aspfaq.com/show.asp?id=2344[/url]
>>
>> but the link Aaron provided should have worked. What happens when you
>> click it?
>>
>>
>When I use [url]www.aspfaq.com/2344[/url] it goes to wholelist.asp. This might be
>because I use Opera, and maybe the site is doing some kind of browser
>sniffing so I don't get the nice menu on the side.
>
>No biggie, though. I just type the article in Opera's search box, and jump
>right to it, although I _would_ like to have the nice menu on the side.
identify as IE 6 then the site appears as intended.
Stefan Berglund Guest
-
Tim #8
Re: replace words with bold words
no - not new - far from it - just in the mood for questioning the things we
take for granted. a bit of a habit of mine I'm afraid.
by the way - your site doesn't pick me up as an IE user as I have modified
my browser header to make me look like an Amiga - and I forgot. sorry!
Don't you cater for Amigas? (joke by the way)
ps - a slight contradiction in your answer
compare
"There are no advertisements, the site is free, and there is no tangible
benefit to drive lots of traffic there"
with
"Based on the feedback (and donations) I get..."
don't forget the ego thing as well. we all have sites we do for free, we
just like to feel popular. did you have a disturbed childhood?
cheers ;-)
Tim
"Aaron Bertrand - MVP" <aaron@TRASHaspfaq.com> wrote in message
news:O5XmduDjDHA.4048@tk2msftngp13.phx.gbl...can>> > what's the point in posting a link that doesn't work properly?
> What does "doesn't work properly" mean?
>>> > why not just answer the question?
> Because it's been answered before, and I don't think I should waste time
> constructing the exact same answer over and over again when, instead, II> point the user to a link and answer any follow-up questions. And the timehosting> *didn't* spend constructing the same answer from scratch, I can use to
> answer five other questions instead.
>>> > I know you want to drive lots of traffic to your site
> Really? What would I get out of that? There are no advertisements, the
> site is free, and there is no tangible benefit to "drive lots of traffic"
> there... except that more traffic means a potentially more expensivebe> bill due to bandwidth consumption and database usage. So, yes, you mustfrom> right, I just want to drive traffic to my web site.
>>> > but it doesn't seem to
> > be the most user-freindly way of replying.
> That may be your opinion. Based on the feedback (and donations) I getminority.> my *free* and *ad-free* web site, I would guess that you're in the>
> You're new around here, huh?
>
>
Tim Guest
-
Aaron Bertrand [MVP] #9
Re: replace words with bold words
> ps - a slight contradiction in your answer
I disagree completely.
Obviously the latter are the people who appreciate the site, rather than> "There are no advertisements, the site is free, and there is no tangible
> benefit to drive lots of traffic there"
> with
> "Based on the feedback (and donations) I get..."
make snide comments about it. Just driving traffic there does not =
donations.
Aaron Bertrand [MVP] Guest
-
Tim #10
Re: replace words with bold words
I seem to have touched a nerve - sorry - didn't mean to.
Tim
"Aaron Bertrand [MVP]" <aaron@TRASHaspfaq.com> wrote in message
news:euIVfaMjDHA.3644@TK2MSFTNGP11.phx.gbl...>> > ps - a slight contradiction in your answer
> I disagree completely.
>>> > "There are no advertisements, the site is free, and there is no tangible
> > benefit to drive lots of traffic there"
> > with
> > "Based on the feedback (and donations) I get..."
> Obviously the latter are the people who appreciate the site, rather than
> make snide comments about it. Just driving traffic there does not =
> donations.
>
>
Tim Guest



Reply With Quote

