PHP Classes
elePHPant
Icontem

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

Recommend this page to a friend!
  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 (4 years ago) RSS 2.0 feedStarStar 39%Total: 471 All time: 5,716 This week: 1,076Up
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

  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:471
This week:0
All time:5,716
This week:1,076Up
User Ratings User Comments (2)
 All time
Utility:62%StarStarStarStar
Consistency:81%StarStarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:39%StarStar
Rank:2699