bool String::ToBoolean() const
{
	if(ToInteger() == 1 || !ICompare("true"))
		return true;

	return false;
}
Beispiel #2
0
int
BStringColumn::CompareFields(BField* field1, BField* field2)
{
	return ICompare(((BStringField*)field1)->String(),
		(((BStringField*)field2)->String()));
}