You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
6 lines
120 B
6 lines
120 B
13 years ago
|
// test for string split
|
||
|
var b = "1,4,7";
|
||
|
var a = b.split(",");
|
||
|
|
||
|
result = a.length==3 && a[0]==1 && a[1]==4 && a[2]==7;
|