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: 243 All time: 7,861 This week: 729Up
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 is available for providing paid consulting. Contact Steve Winnington .
Classes: 8 packages by
Country: United Kingdom
Age: 46
All time rank: 123654 in United Kingdom
Week rank: 643 Up14 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  
 0%
Total:243
This week:0
All time:7,861
This week:729Up

For more information send a message to info at phpclasses dot org.