[EDIT: Tue Jun 21 20:43:11 UTC 2011 – Reformat – MKF]
I cant find anything on the help for regexp that gives a way to split up numbers.
I have '1 | 2' and I need to get '1' and '2' as two separate strings.
I am getting this string from a listbox
Pos = get(handles.PositionList,'String') Reg_num = get(handles.PositionList,'Value')
Reg_num is so that MATLAB knows which line is selected.
Best Answer