How to combine the text from two edit text and making it as one text?
Mostra commenti meno recenti
Hi team,
I have two text from two separate edit text and i want to represent them as single text in code. My code is as below.
X=char(get(handles.editX,'string'));
Y=char(get(handles.editSNo,'string'));
keyword in folderlist below should be combination of X and Y.
folderlist=dir(fullfile(folderpath,keyword));
Tried in all possible ways, not able to solve, please someone help solving this.
Risposta accettata
Più risposte (1)
Wayne King
il 26 Dic 2013
X= 'TR-13-01639(16)';
Y = '102489473-16*';
idx = find(X=='(');
X(idx:end) = [];
keyword = strcat(X,'-',Y)
1 Commento
Radhika
il 27 Dic 2013
Categorie
Scopri di più su Cell Arrays in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!