T
Tony WONG
i have a number of forms with fax numbers to come up into arrays and then
combine to string.
after that i design the flow
1. break the string to array
now the string looks like this 12345678,23456789,34567890...
2. check record-2 again record-1,
check record-3 again record-2 & record-1
check record-4 again record-3 & record-2 & record-1
and so on... (if duplicated, drop it)
problem - step 1 break the string to array
var CDEF = new Array(faxnumbers);
alert(CDEF[0],
it returns all the numbers (12345678,23456789,34567890...
i just wish to have 12345678
anything wrong with my script?
Grateful if you could kindly advise whether step 2 is the best way to sort
out duplicated numbers?
Thanks a lot
tony
combine to string.
after that i design the flow
1. break the string to array
now the string looks like this 12345678,23456789,34567890...
2. check record-2 again record-1,
check record-3 again record-2 & record-1
check record-4 again record-3 & record-2 & record-1
and so on... (if duplicated, drop it)
problem - step 1 break the string to array
var CDEF = new Array(faxnumbers);
alert(CDEF[0],
it returns all the numbers (12345678,23456789,34567890...
i just wish to have 12345678
anything wrong with my script?
Grateful if you could kindly advise whether step 2 is the best way to sort
out duplicated numbers?
Thanks a lot
tony