Date Added: 14/01/2015


var str="How are you doing today?";
 var n=str.split(" ");

The result of n will be an array with the values: How,are,you,doing,today?

var fruits = ["Banana", "Orange", "Apple", "Mango"];
 var energy = fruits.join();

The result of energy will be: Banana,Orange,Apple,Mango

Last Update: Posted by: müslüm ÇEN
Not Commented Yet !
Please login in order to comment . Login