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 Javascript

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 Javascript, Get first word of string Using Javascript, Get first word from Sentence using Javascript, Get first word from Sentence in Javascript or Jquery, javascript get first word/part of a sentence


<script type="text/javascript">
var totalWords = "my name is rahul.";
var firstWord = totalWords.replace(/ .*/,'');