Path: news.mathworks.com!not-for-mail
From: "Muhammad " <fahrudin_fistek@yahoo.com>
Newsgroups: comp.soft-sys.matlab
Subject: gui edit
Date: Sun, 11 Apr 2010 16:18:03 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 22
Message-ID: <hpssnr$gqm$1@fred.mathworks.com>
Reply-To: "Muhammad " <fahrudin_fistek@yahoo.com>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1271002683 17238 172.30.248.37 (11 Apr 2010 16:18:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sun, 11 Apr 2010 16:18:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1651062
Xref: news.mathworks.com comp.soft-sys.matlab:625543

Hi ....
This is my GUI edit setting. 
handles.Manual=uicontrol(...
      'Parent',handles.Cuaca,...
      'Units','normalized',...
      'Position',[.58,.1,.2,.28],...
      'BackgroundColor','w',...
      'HorizontalAlignment','left',...
      'Style','edit',...
      'FontSize',11,...
      'Min',1,...
      'Max',4,...
      'String','',...
      'Callback',@ManualPrediction);

function ManualPrediction (hObject,eventdata)
        handles.PManual=[get(handles.Manual,'String')]
          set(handles.Test,'String',handles.PManual)
 end
How can I get a string in a certain number in my edit text?
for example just access in line 1 and 2 not all
Very thanks.