PHP Classes

Remove nth Occurance from String: Remove or keep repeated text in a string

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 245 All time: 7,962 This week: 299Up
Version License PHP version Categories
string-clean 1.0.0GNU General Publi...5.0PHP 5, Text processing


This class can remove or keep repeated text in a string.

It can search for a given string and remove an occurrence that is in a given position of the list of copies of the string that was found.

The class can also remove all occurrences of a given string except for a specific occurrence that is in a given position of the list of copies of the string.

Innovation Award
PHP Programming Innovation award nominee
November 2013
Number 8
Some times it is necessary to remove text that is repeated in a string.

This class can remove certain copies of a given text from a string given the text position.

Manuel Lemos
Picture of Steve Winnington
  Performance   Level  
Name: Steve Winnington is available for providing paid consulting. Contact Steve Winnington .
Classes: 8 packages by
Country: United Kingdom
Age: 49
All time rank: 123455 in United Kingdom
Week rank: 387 Up17 in United Kingdom Up
Innovation award
Innovation award
Nominee: 3x

  Files folder image Files  
File Role Description
Plain text file StringClean.php Class Remove nth occurance of string

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:7,962
This week:299Up