I have a large cell array and I'm trying to vectorize some string parsing. The cell is 100000 x 1 and looks like this:
data =
'"2016-07-27T14:18:08.519Z"'
'"2016-07-27T14:18:16.549Z"'
'"2016-07-27T14:18:21.544Z"'
'"2016-07-27T14:18:27.517Z"'
I want to parse this into two cell arrays that look like this:
date_str, which would look like this:
'2016-07-27'
'2016-07-27'
'2016-07-27'
'2016-07-27'
time_str, which would look like this:
'14:18:08.519'
'14:18:16.549'
'14:18:21.544'
'14:18:27.517'
I have looked at using cellfun(@strsplit,data), but it doesn't let me specify a delimiter for the "strsplit" function.