Monday, January 21, 2008

Trim the empty string in the string

This is part of code. Maybe have some bug.
s = sp =&temp1;
for
(p = s; ; s ++)
{

if
(*s != TEXT('\t')&& *s!= TEXT(' '))*p ++ = *s;
if
(*s == TEXT('\0'))break;
}

Labels:


Comments: Post a Comment

Subscribe to Post Comments [Atom]





<< Home

This page is powered by Blogger. Isn't yours?

Subscribe to Posts [Atom]

Scrape It
Free Hit Counters
Scrape It