Interview Questions

Wednesday, May 14, 2014

Text buffer class Example

static void TxtB(Args _args)
{

TextBuffer buffer;
str vlu;
;

vlu = "Gulshan Kumar Gupta";
   
buffer = new TextBuffer();
buffer.setText(vlu);

while (buffer.nextToken(0, '.'))
{

info (buffer.token());

}
}
output:  Gulshan

             Kumar 
             Gupta

No comments:

Post a Comment