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.

How to Remove First 2 Words From String Using JavaScript?

Remove First Two Words From String Using JavaScript or Jquery,Delete starting 2 Words Using Javascript

Hello friends, today I will tell you through this tutorial that you can remove 2 words from start of the value of any string through javascript.

Demo 

<script>
var original = "My Name is Jyoti Chaurasiya.";
var result = original.substr(original.indexOf(" ") + 1);
var resultor = result.substr(result.indexOf(" ") + 1);
alert(resultor);
</script>

First of all I would like to tell you that you have been explained below by example that you can easily remove 2 value from the start of any string through javascript.

Now let’s try to understand. First of all, you should create a file of html and copy the code written above it and paste it in your file and run the file on your browser and you will get the output.

You can see the output by clicking on the given demo link.