Hi Guys!
I am trying to split a numberic sting in cell array data. but unable to do it.
a = {'c\datat\pic\res\000-774'; '\c\datat\pic\res\152-7987';}
need output like
a1 = ('c\datat\pic\res\';'c\datat\pic\res\ ')
a2 = ('000-774';'125-7957')
can anyone help me to solve.
thanks in adavance!!
5 Comments
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/520354-string-split-in-cell-array#comment_834090
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/520354-string-split-in-cell-array#comment_834090
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/520354-string-split-in-cell-array#comment_834253
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/520354-string-split-in-cell-array#comment_834253
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/520354-string-split-in-cell-array#comment_834348
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/520354-string-split-in-cell-array#comment_834348
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/520354-string-split-in-cell-array#comment_834467
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/520354-string-split-in-cell-array#comment_834467
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/520354-string-split-in-cell-array#comment_834487
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/520354-string-split-in-cell-array#comment_834487
Sign in to comment.