Subversion Repositories spk

Rev

Rev 130 | Rev 159 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 130 Rev 131
Line 366... Line 366...
366
}
366
}
367

367

368
String String::remToken(const char *token, int from) const
368
String String::remToken(const char *token, int from) const
369
{
369
{
370
	Utils::String newstr;
370
	Utils::String newstr;
-
 
371

-
 
372
	if (from < 0)
-
 
373
	{
-
 
374
		int maxT = this->countToken(token);
-
 
375
		from = maxT + (from + 1);
-
 
376
	}
371

377

372
	int whichtok = 1;
378
	int whichtok = 1;
373
	Utils::String::size_type lastPos = 0;
379
	Utils::String::size_type lastPos = 0;
374
	Utils::String::size_type pos     = _token_nextPos(token, 0);
380
	Utils::String::size_type pos     = _token_nextPos(token, 0);
375

381