Friday, November 4, 2022

PHP code for String Tokenize

 PHP code for String Tokenize


<?php
$string = "Hello Kamal. How are you Doing?";
$token = strtok($string, " ");

while ($token !== false)
{
echo "$token<br>";
$token = strtok(" ");
}
?>

1 comment:

  1. Great Blog! HASHCRON Technologies Android is a mobile operating system based on a modified version of the Linux kernel and other open-source software, designed primarily for touchscreen mobile devices such as smartphones and tablets. Android is developed by a consortium of developers known as the Open Handset Alliance, though its most widely used version is primarily developed by Google. It was unveiled in November 2007, with the first commercial Android device, the HTC Dream, being launched in September 2008.

    ReplyDelete