Forums

This topic is locked

Format and Crop Sentence

Posted 05 Feb 2003 16:01:10
1
has voted
05 Feb 2003 16:01:10 Mark G posted:
Hey all.

Im using the crop sentence extension, but is ther a way to also have the text formated the way it is in the DB?

Replies

Replied 05 Feb 2003 16:20:44
05 Feb 2003 16:20:44 Julio Taylor replied:
what language are you using?!

------------------------
Julio

PHP | MySQL | DWMX | ColdFusion

ICQ: 19735247
Replied 05 Feb 2003 16:43:43
05 Feb 2003 16:43:43 Mark G replied:
LOL... if i told you that it would be too easy, heh heh.

I'm using ASP/VBscript. heres a example of the code.

<% =(CropSentence((rsRECSET.Fields.Item("FIELD".Value), 600, "...") %>

&

<%=Replace(rsRECSET.Fields.Item("FIELD".Value,chr(13),"<br>"%>

but i need to combine them.

i hope this makes more sense

Edited by - Mark113 on 05 Feb 2003 16:50:07

Reply to this topic