[LA.pm] how do I trim a $var down

David Heayn david at cloudgraphics.com
Fri Jun 24 22:13:40 PDT 2005


I want to spit out summaries of a CSV file to HTML, where $content 
sometimes runs 3000+ characters long. However, I need a way to strip 
off the bulk of $content, but keep the first 100 
characters/whitespaces.

Ideas?


David Heayn * http://www.cloudgraphics.com * 213/925.3283


More information about the Losangeles-pm mailing list