PDA

Click to See Complete Forum and Search --> : Using AT commands


death7878
Jul 20th, 2006, 02:40 AM
Hi all,

Currently im having problems wif using AT Commands to read SMS from SIM card...

Is it possible to filter out the header and values highlighted in bold? As i wish to onli read the data information which is inside the SMS onli...

AT+CMGR=1
+CMGR: "REC READ","7001",,"06/07/07,15:32:00+32"
SMS information

Thnx alot!!!

Al42
Jul 20th, 2006, 02:08 PM
What language are you using? Which information do you want to keep, the "06/07/07,15:32:00+32" part?

death7878
Jul 20th, 2006, 08:12 PM
I m using VB version 6... I wan the SMS information which is after the bold part... as for the bold part, i wanna get rid of it... any ways?

Al42
Jul 21st, 2006, 11:57 AM
strWhatYouWant = Mid$(strWhatYouGot, InstrRev(strWhatYouGot, "+32") + 3)

strWhatYouWant will be everything after the +32