Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Divide a String into Words

Status
Not open for further replies.

puremm

Technical User
Oct 30, 2006
23
0
0
GB
I have a client, who a the eleventh hour has asked for a tag word facility, something that's used on a few blog's.

Where a field 'Keywords' has a number words in relation to the work, but they want to have the words highlighted, and then if that word is clicked to produces results in relation to that word.

Now I need to divide the field string into seperate words, with a highlight and a dynamic link with that string.

Is this possible???
 
You should use regular expressions to do this
This FAQ should give you a good starting point.

How do I extract values from a given value? faq333-3645



[sub]____________ signature below ______________
The worst mistake you'll ever make is to do something simply the way you know how while ignoring the way it should be done[/sub]
 
Thanks for the reply, you're suggestion was a valuable pointer...

Many thanks
 
:)

[sub]____________ signature below ______________
You may get help by means of code here. Just recall what happens to a rat when he eats the cheese off a rat trap while you're Ctrl+C/Ctrl+V'ing that code as your own[/sub]
 

Maybe you want to 'thank onpnt for this valuable post'... ;-)

A smile is worth a thousand kind words. So smile, it's easy! :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top