diff -r 5588347dfcbd -r 82a37ccf6b8c CollectionUtils.m --- a/CollectionUtils.m Wed May 07 16:47:44 2008 -0700 +++ b/CollectionUtils.m Tue May 20 17:40:28 2008 -0700 @@ -171,6 +171,15 @@ } +NSString* $string( const char *utf8Str ) +{ + if( utf8Str ) + return [NSString stringWithCString: utf8Str encoding: NSUTF8StringEncoding]; + else + return nil; +} + + @implementation NSArray (MYUtils) - (BOOL) my_containsObjectIdenticalTo: (id)object