Subversion Repositories spk

Rev

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

Rev 78 Rev 81
Line 783... Line 783...
783

783

784
const String &String::toUpper()
784
const String &String::toUpper()
785
{
785
{
786
	std::transform(this->begin(), this->end(), this->begin(), toupper);
786
	std::transform(this->begin(), this->end(), this->begin(), toupper);
787
	return (*this);
787
	return (*this);
-
 
788
}
-
 
789

-
 
790
const String &String::toFilename()
-
 
791
{
-
 
792
	(*this).findReplace("\\", "/").findReplace("//", "/").removeIf(0, '/');
-
 
793
	return (*this);
-
 
794
}
-
 
795
String String::asFilename() const
-
 
796
{
-
 
797
	Utils::String sFile(*this);
-
 
798
	return sFile.toFilename();
788
}
799
}
789

800

790
int String::compareVersion(const Utils::String &sV) const
801
int String::compareVersion(const Utils::String &sV) const
791
{
802
{
792
	Utils::String thisStr = (*this);
803
	Utils::String thisStr = (*this);