Reference Guide

Adobe Acrobat PDF Lampshade 1.2 Reference (PDF)

interface.inc.php - User Interface Functions

truncate

Required Parameters: string $value, int $length
Optional Parameters: None
Returns: string
Description: This function truncates a string given by $value so that it has a length of $length. An ellipses is automatically appended to the end of the string.

function truncate($value, $length)

Copyright © 2001-2010 Think Computer Corporation. All Rights Reserved. Patent pending.

Authors of the impossible.™
Think