D
danielst.clair
I'm pulling customer testimonials from an SQL database onto the
homepage of a site. I want to set a trim that will not allow more than
250 characters of the testimonial to show. Anything over 250 would be
cut of and replaced with "..." I already have a link below that will
take them to a page that displays all testimonials. Current code (a
little messy):
<td width="220" height="97" valign="top">
<span
class="style4">"<%=(Testimonials.Fields.Item("test_desc").Value)%>..."<br
/>
-
<%=(Testimonials.Fields.Item("test_name").Value)%></span></td>
I want to trim the "test_desc." Any Ideas?
homepage of a site. I want to set a trim that will not allow more than
250 characters of the testimonial to show. Anything over 250 would be
cut of and replaced with "..." I already have a link below that will
take them to a page that displays all testimonials. Current code (a
little messy):
<td width="220" height="97" valign="top">
<span
class="style4">"<%=(Testimonials.Fields.Item("test_desc").Value)%>..."<br
/>
-
<%=(Testimonials.Fields.Item("test_name").Value)%></span></td>
I want to trim the "test_desc." Any Ideas?