Click here to Skip to main content
15,910,277 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Help with troublesome code! [modified] Pin
Cedric Moonen21-Jun-06 20:24
Cedric Moonen21-Jun-06 20:24 
AnswerRe: Help with troublesome code! Pin
kakan21-Jun-06 22:12
professionalkakan21-Jun-06 22:12 
GeneralRe: Help with troublesome code! Pin
Lord Kixdemp22-Jun-06 7:41
Lord Kixdemp22-Jun-06 7:41 
GeneralRe: Help with troublesome code! Pin
kakan25-Jun-06 19:11
professionalkakan25-Jun-06 19:11 
Questionstrings and file IO ...!! Pin
Nawar_nrr21-Jun-06 16:22
Nawar_nrr21-Jun-06 16:22 
AnswerRe: strings and file IO ...!! Pin
_AnsHUMAN_ 21-Jun-06 17:50
_AnsHUMAN_ 21-Jun-06 17:50 
GeneralRe: strings and file IO ...!! Pin
Nawar_nrr21-Jun-06 20:14
Nawar_nrr21-Jun-06 20:14 
GeneralRe: strings and file IO ...!! Pin
_AnsHUMAN_ 21-Jun-06 20:27
_AnsHUMAN_ 21-Jun-06 20:27 
CString s="+CMGR=2+CMGR: \"REC UNREAD\",\"phone number\",,\"06/06/21,15:20:28+32\"SMS Test OK";
int iFirstComma=s.Find (",",0);
CString sExtracted1=s.Right(s.GetLength ()-iFirstComma-1);
int j=sExtracted1.Find ("OK",0);
CString sExtracted2=sExtracted1 .Left (j);
//AfxMessageBox(sExtracted2);

Now sExtracted2 has the string you need. Is it Ok?

Somethings seem HARD to do, until we know how to do them.
Wink | ;-)
_AnShUmAn_
GeneralRe: strings and file IO ...!! Pin
Nawar_nrr22-Jun-06 16:20
Nawar_nrr22-Jun-06 16:20 
GeneralRe: strings and file IO ...!! Pin
Nawar_nrr22-Jun-06 16:51
Nawar_nrr22-Jun-06 16:51 
GeneralRe: strings and file IO ...!! Pin
_AnsHUMAN_ 21-Jun-06 20:39
_AnsHUMAN_ 21-Jun-06 20:39 
QuestionAsk about drawing the client Pin
zouchao111221-Jun-06 16:16
zouchao111221-Jun-06 16:16 
AnswerRe: Ask about drawing the client Pin
Justin Tay21-Jun-06 18:57
Justin Tay21-Jun-06 18:57 
AnswerRe: Ask about drawing the client Pin
erkanina23-Jun-06 2:52
erkanina23-Jun-06 2:52 
Questiondisable menu bar Pin
sdhtyjnniutnbjnhbghb21-Jun-06 15:40
sdhtyjnniutnbjnhbghb21-Jun-06 15:40 
QuestionProblems with IProgressDialog Pin
Barry True21-Jun-06 15:17
Barry True21-Jun-06 15:17 
AnswerRe: Problems with IProgressDialog Pin
DrewH21-Apr-09 5:54
DrewH21-Apr-09 5:54 
GeneralRe: Problems with IProgressDialog Pin
Barry True21-Apr-09 13:45
Barry True21-Apr-09 13:45 
GeneralRe: Problems with IProgressDialog Pin
DrewH22-Apr-09 2:20
DrewH22-Apr-09 2:20 
GeneralRe: Problems with IProgressDialog Pin
Barry True22-Apr-09 15:47
Barry True22-Apr-09 15:47 
QuestionOnPaint after minimized Dialog Pin
NickConnors21-Jun-06 13:11
NickConnors21-Jun-06 13:11 
AnswerRe: OnPaint after minimized Dialog Pin
FarPointer21-Jun-06 15:17
FarPointer21-Jun-06 15:17 
QuestionPrevent maximized window from moving Pin
xuanvulh21-Jun-06 13:04
xuanvulh21-Jun-06 13:04 
AnswerRe: Prevent maximized window from moving Pin
Michael Dunn21-Jun-06 13:48
sitebuilderMichael Dunn21-Jun-06 13:48 
AnswerRe: Prevent maximized window from moving Pin
codification21-Jun-06 13:55
codification21-Jun-06 13:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.