preg_split (/\+{1,}/) : String Split : String PHP Source Code


PHP Source Code » String » String Split »

 

preg_split (/\+{1,}/)




<?php
   $delimitedText = "+Java+++PHP+++++++++++ASP+++OH";
   $fields = preg_split("/+{1,}/", $delimitedText);
   foreach($fields as $fieldecho $field."<br />";
?>

           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo String
» String Split