Hi, :)
The preg_replace function...
preg_replace(pa ttern, replacement, subject [, int limit])
How on earth do you get the limit value to work with arrays?
In my code both the pattern and replacement parameters are arrays and I
only want a specified number of replacements to occur.
Can anyone help me find a solution? There must be one out there
somewhere. :-/
Thanks.
Marc :O)
The preg_replace function...
preg_replace(pa ttern, replacement, subject [, int limit])
How on earth do you get the limit value to work with arrays?
In my code both the pattern and replacement parameters are arrays and I
only want a specified number of replacements to occur.
Can anyone help me find a solution? There must be one out there
somewhere. :-/
Thanks.
Marc :O)
Comment