Re[2]: gtk+2.0 text problem




> Am Donnerstag, den 18.08.2005, 16:03 +0900 schrieb "luft":
> > i have some question about text.
> > 
> > when i press space, i want get token from previous space position to here. 
> > for example :    aaaa bbbbb  
> > i wanna get string "bbbbb" 
> > how can i do that?
> 

for example you can do this using sscanf:

char  s1[30];
char  s2[30];
sscanf( tokenstring, "%s %s", s1, s2);





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]