Part of Crunchify JavaScript Tutorial Series...



1. How to Check if String Contains another Substring?

String 1:
String 2:



2. How to Remove Array Element by Value?


Array = ["eBay", "Google", "Paypal", "Yahoo" ];
Let's remove element "Google"



3. How to Move Listbox Values to Left/Right?




4. How to Remove Duplicates Elements from Array?

     var companies = ["eBay", "Google", "Paypal", "Yahoo", "Google"];
Note 'Google' is duplicate in companies array. Click to remove duplicate elements from companies array:



5. How to Remove Array Element by Index?


Array = ["eBay", "Google", "Paypal", "Yahoo" ];
Let's remove 2nd element, i.e. "Paypal"



Crunchify - JavaScript Tutorials by Crunchify. Click here for all Java, Spring MVC, Web Development examples.