예제 #1
0
	GString RelativeToPath(GString Filename)
	{
		return Filename.substr(Filename.find_last_of("/"));
	}
예제 #2
0
	GString RemoveExtension(GString Fn)
	{
		return Fn.substr(0, Fn.find_last_of("."));
	}
예제 #3
0
	GString GetExtension(GString Filename)
	{
		return Filename.substr(Filename.find_last_of(".")+1);
	}