Links
 
fm_previewstring Click to Download
 
Description
An updated version of the existing fm_previewtext function that trims a string to the nearest complete word. This version is more streamlined and also removes any HTML code from a string before trimming it. This newer version also automatically adds the elipsis (...) to the end of a string if the string is longer than the trim limit.
 
Usage
Used when wanting to display a teaser or snippet of text.
 
Attributes
Name Type Description
string Required The string or a variable that contains one
count Required The number of characters to display to the nearest word
 
 
 
Contact Us
Tel Fax
 
Email
 
Datapartners
 
         
DP Products DP Services DP Portals


 © 2010 Datapartners. All Rights Reserved.