MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Opportunities for recent engineering grads.
I have a string 2-1 . I want to split this into Two different strings 2 and 1.
Can someone please throw some light on how to use the split string function.
Thanks in Advance.
Direct link to this comment:
oops..... just got it
s2 = regexp(string, '-', 'split')
You should put this comment as an answer below, and then accept that answer. That will help people looking for similar solutions later.
No products are associated with this question.