GSM 900 module msg to LCD: help with code !

Hello people ! I am using this code to receive sms text messages onto an lcd, using a GSM 900 module and Arduino r3. I have attached to code. Please somebody help me !! my project deadline is so near :frowning:

#include <LiquidCrystal.h>
#include <SoftwareSerial.h>
LiquidCrystal lcd(2,3,4,5,6,7);
SoftwareSerial SIM900(9, 8 );
int inByte=0;
void setup()
{
Serial.begin(19200); // for serial monitor display
SIM900.begin(19200); // for GSM shield start serial programming
lcd.begin(16, 2);
lcd.print(" WIRELESS");
lcd.setCursor(0, 1);
lcd.print(β€œNOTICE BOARD”);
delay(20000); // give time to manually power ON the GSM Shield andconnect to the network
SIM900.print(β€œAT+CMGF=1\r”); // set SMS mode to text
delay(100);
SIM900.print(β€œAT+CNMI=2,2,0,0,0\r”); // Configuration to extract content of the received message.Display it on Arduino Serial Monitor
delay(100);
}
void loop()
{
// Now we simply display any text that the GSM shield sends out on the serial monitor
do
{
while ( !SIM900.available() );
} while ( β€˜"’ != SIM900.read() );

do
{
while ( !SIM900.available() );
} while ( β€˜"’ != SIM900.read() );

do
{
while ( !SIM900.available() );
} while ( β€˜"’ != SIM900.read() );

do
{
while ( !SIM900.available() );
} while ( β€˜"’ != SIM900.read() );
do
{
while ( !SIM900.available() );
} while ( β€˜"’ != SIM900.read() );

do
{
while ( !SIM900.available() );
} while ( β€˜"’ != SIM900.read() );

while ( !SIM900.available() );
inByte = SIM900.read();
while ( !SIM900.available() );
inByte = SIM900.read();

lcd.clear();
while(1)
{
while ( !SIM900.available() );

{
for (int positionCounter = 0; positionCounter < 16; positionCounter++) {

inByte = SIM900.read();

if ( inByte == β€˜\r’ )
break;
else;

Serial.write(inByte);
lcd.write ( inByte );

lcd.scrollDisplayLeft();
// wait a bit:
delay(1000);
}

}

}
}

I get output on the lcd, and it scrolls the message as well. However, the message that the GSM shield receives looks like this,

+CMT: β€œ+639353072589”,"",β€œ15/05/07,12:30:27+32”
(then the message)

You haven't really said what the problem is.

The problem is that I need to only display the message, and not the +CMT: "+639353072589","","15/05/07,12:30:27+32" bit, which also comes on the lcd. It's the same thing that comes on the serial monitor, however, I need to come up with a way to exclude that portion and only display the message. Also, I need to make the message to continuously scroll until the GSM module receives another message.