2 Reusable Code Snippet Topics
Remove Filter
|
|
A little find and replace function for PHP, not tested, but theoretically should work. |
|
The `ReplaceStrings` function replaces all strings in `APatterns` found in `ASubject` with the value in `AReplacement`. As an example, I added the `RemoveStrings` function which replaces everthing with an empty string, thus deleting all strings found. Usage examples are in the XMLDoc comments. A good test will be to rewrite … |
The End.