LOGO KARANDO.COM LOGO KARANDO.COM
 

FCT_STRING_BETWEEN, FCT_STRING_BETWEEN_LAST

Retour Librairie

function fct_string_between ($this, $that, $inthat)
{
    return before($that, after($this, $inthat));
};
function fct_string_between_last ($this, $that, $inthat)
{
    return after_last($this, before_last($that, $inthat));
};

La function fct_string_between permet de decouper une chaine et de resortir un morceau de chaine.
Exemple:
fct_string_between ('@', '.', 'karando@hotmail.com');
returns 'hotmail'

Valid XHTML 1.0!