inset new string at runtime

can i insert one newstring during run time,means,i’m getting gps data continuously on hyber terminal window,mean while i’m checking "antenna open and close"message,if suppose that message will come,i should insert one new string,is it possible?