college_amy
Well-known member
- Joined
- Jan 3, 2004
- Messages
- 83
Ok.. this is a silly / easy question that I know the answer too - but for some reason, I cant get the answer to come to me at this moment...
I have a string (a long string) and I want to cut off all the remaining text after the 6th or 7th word (looking for the first white space area after that word) and put "..." in the remainder of the strings place. (You know, kinda like a preview of a news article or something)
How can I do this in sql?
I have done it before, but cant remember or think of it for the life of me!
Any help is appreciated...
I have a string (a long string) and I want to cut off all the remaining text after the 6th or 7th word (looking for the first white space area after that word) and put "..." in the remainder of the strings place. (You know, kinda like a preview of a news article or something)
How can I do this in sql?
I have done it before, but cant remember or think of it for the life of me!
Any help is appreciated...