[Javascript] The split () function
The split () function allows you to split a string and return the results in a table, using a string defined as a separator.
In the example below, the split () can cut the date according to the character '/':
var date = '26/02/2009';
var elem = uneDate.split('/');
day = elem[0];
month = elem[1];
year = elem[2];