@@ -44,6 +44,11 @@ - (size_t)length { return length; } + +- (int)compare: (OFConstString*)str +{ + return strcmp(string, [str cString]); +} @end