PHP Classes

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

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStar 37%Total: 474 All time: 5,987 This week: 673Up
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 (1)  
File Role Description
Plain text file string_delimiter.class.php Class Limita a quantidade de caracteres numa string

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:474
This week:0
All time:5,987
This week:673Up
User Ratings User Comments (2)
 All time
Utility:60%StarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:37%StarStar
Rank:4027