Kmspico Download | Official KMS Activator Website [New Version 2024] Fast and Easy Converter YouTube to MP3 Online KMSAuto Net Activator Download 2024 Immediate Byte Pro Neoprofit AI Blacksprut without borders. Discover new shopping opportunities here where each link is an entrance to a world ruled by anonymity and freedom.

Get First Word of String Using PHP

Hi guys today i will tell you through this tutorial that how do we get the first word of any sentence from javascript code.

Get first word of string,
Get first word of string in PHP,
Get first word of string Using PHP,
Get first word from Sentence using PHP,
PHP Get first word/part of a sentence


$myvalue = 'my name is rahul.';
$arr = explode(' ',trim($myvalue));
echo $arr[0]; // will print Test