Mega Code Archive

 
Categories / Php / Strings
 

Split php

<?php    $text = "this is\tsome text that\nwe might like to parse.";    print_r(split("[\n\t]",$text)); ?>