Re: [PHP-DEV] mbstring, a proposition of additional functions

2012-09-25 Thread Ivan Enderlin @ Hoa
On 24/09/12 20:04, Andrew Faulds wrote: On 24/09/12 15:41, Ivan Enderlin @ Hoa wrote: Recently, I crafted a String object that support most of the propositions written here. Please, see https://github.com/hoaproject/String (file String.php). The code is very simple (it implies that it do not

Re: [PHP-DEV] mbstring, a proposition of additional functions

2012-09-24 Thread Moshe Samuel
It would be nice, especially if "Hello"->replace("ll","xx") could work regular expressions. On Mon, Sep 24, 2012 at 1:04 PM, Andrew Faulds wrote: > On 24/09/12 15:41, Ivan Enderlin @ Hoa wrote: > >> Recently, I crafted a String object that support most of the propositions >> written here. Please

Re: [PHP-DEV] mbstring, a proposition of additional functions

2012-09-24 Thread Andrew Faulds
On 24/09/12 15:41, Ivan Enderlin @ Hoa wrote: Recently, I crafted a String object that support most of the propositions written here. Please, see https://github.com/hoaproject/String (file String.php). The code is very simple (it implies that it do not need a lot of work to implement it in PHP

Re: [PHP-DEV] mbstring, a proposition of additional functions

2012-09-24 Thread Ivan Enderlin @ Hoa
Hi, I sent this email during this summer and nobody replied. I would like to know your opinion. On 06/08/12 21:54, Ivan Enderlin @ Hoa wrote: Hello, ext/mbstring is very useful, but from my point of view, some functions are missing. I would like to propose the addition of the following fu

[PHP-DEV] mbstring, a proposition of additional functions

2012-08-06 Thread Ivan Enderlin @ Hoa
Hello, ext/mbstring is very useful, but from my point of view, some functions are missing. I would like to propose the addition of the following functions. mb_append($str, $piece) and mb_prepend($str, $piece): To add a $piece to, respectively, the end and the start of $string. It should consi