I have a long string of ISO dates:
var str = \"\'2012-11-10T00:00:00.000Z\', \'2012-11-11T00:00:00.000Z\', **** \'2013-11-12T00:00:00.000Z\'\";
There is jsperf using substr / substring that is the most optimal way. See:
jsperf
substr
substring
https://jsperf.com/slice-vs-substr-vs-substring-vs-split-vs-regexp