Hi,
I'm building a search results page.
I want to show the content of each search result, but I want to truncate it to the first 100 characters or so. In the example below, I would want the red bit truncated to 100 chars.
<li>
<%=(SearchResults.Fields.Item("entry_heading".Value)%>
<br/>
<%=(SearchResults.Fields.Item("entry_content".Value)%>...
</li>
Any ideas how to do this?
(If its been answered already feel free to point me at the thread in question )
--
Olly
I'm building a search results page.
I want to show the content of each search result, but I want to truncate it to the first 100 characters or so. In the example below, I would want the red bit truncated to 100 chars.
<li>
<%=(SearchResults.Fields.Item("entry_heading".Value)%>
<br/>
<%=(SearchResults.Fields.Item("entry_content".Value)%>...
</li>
Any ideas how to do this?
(If its been answered already feel free to point me at the thread in question )
--
Olly