PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2013-10-25 (3 years ago) RSS 2.0 feedNot enough user ratingsTotal: 242 All time: 7,466 This week: 1,042Up
Version License PHP version Categories
string-clean 1.0.0GNU General Publi...5.0PHP 5, Text processing
Description Author

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 <contact>
Classes: 8 packages by
Country: United Kingdom United Kingdom
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  
 0%
Total:242
This week:0
All time:7,466
This week:1,042Up