PHP Classes

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

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
Not enough user ratingsTotal: 247 All time: 7,964 This week: 673Up
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: 50
All time rank: 123455 in United Kingdom
Week rank: 200 Up10 in United Kingdom Up
Innovation award
Innovation award
Nominee: 3x

  Files folder image Files (1)  
File Role Description
Plain text file StringClean.php Class Remove nth occurance of 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:247
This week:0
All time:7,964
This week:673Up