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

TechVidvan Team

TechVidvan Team provides high-quality content & courses on AI, ML, Data Science, Data Engineering, Data Analytics, programming, Python, DSA, Android, Flutter, full stack web dev, MERN, and many latest technology.

Leave a Reply

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