/PHPMultiExplode

Tiny function to split a string by a array of the string for PHP.

Primary LanguagePHPGNU General Public License v3.0GPL-3.0

PHP Multi Explode

Tiny function to split a string by a array of the string for PHP.

The mexplode(), mexplodes() function breaks a string into an array.

Different ways

  • preg_split (one of the best way)
  • str_replace + explode
  • explode + implode