PHP chunk_split() and str_split() Function

Program 1

<html>
    <head><title>String in PHP Application</title>
    <body>
  
  <pre>
    <center>
<?php
          $mystr="Data flair free course";
                  
            // $newstr=chunk_split($mystr,2,'.');       
            //   echo $newstr;
             //$newarray=str_split($mystr,4);
             //print_r($newarray);
          //str_split()
          //chunk_split()
?>

</pre>
        </center>
</body>
</html>

 

courses

Leave a Reply

Your email address will not be published. Required fields are marked *