Login   Register  
PHP Classes

String Delimiter: Limit the length of a string without cutting words

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2011-12-17 (2 years ago) RSS 2.0 feedStarStar 39%Total: 470 This week: 1All time: 5,454 This week: 1,608Up
Version License PHP version Categories  
string-delimiter 1.0Public Domain3.0Text processing
Description Author  

This class can limit the length of a string without cutting words.

It can take a string and return the initial characters if it exceeds a given length limit.

The returned string only includes complete words, so it does not cut the last word in the middle.

In Portuguese:

Limita a quantidade de caracteres numa string, retornando todas as palavras por inteiro.

Picture of Gabriel Lau
Name: Gabriel Lau <contact>
Classes: 1 package by
Country: Brazil Brazil
Age: ???
All time rank: 2997229 in Brazil Brazil
Week rank: 1201 Up106 in Brazil Brazil Up

  Files folder image Files  
File Role Description
Plain text file string_delimiter.class.php Class Limita a quantidade de caracteres numa string

 Version Control Unique User Downloads Download Rankings  
 0%Total:470All time:5,454
 This week:1This week:1,608Up
User Ratings User Comments (2)  
 All time