PHP Classes

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    
Ratings Unique User Downloads Download Rankings
StarStar 39%Total: 472 All time: 5,954 This week: 277Up
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: 3296252 in Brazil Brazil
Week rank: 647 Up42 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  
This week:0
All time:5,954
This week:277Up
User Ratings User Comments (2)
 All time
For more information send a message to info at phpclasses dot org.