NSString(MOFoundationExtras)


Abstract

Additional NSString methods added by MOKit.

Discussion

Additional NSString methods added by MOKit.



Methods

MO_stringByReplacingBackslashWithSlash
Returns a new string with all backslashes replaced by slashes.

MO_stringByReplacingBackslashWithSlash

Returns a new string with all backslashes replaced by slashes.
- ( NSString *) MO_stringByReplacingBackslashWithSlash;

Returns a new string with all backslashes replaced by slashes. This method is useful for standardizing a path from Windows to a POSIX path. Foundation now provides better facilities for this sort of thing, in general, but this method remains for compatibility.

method result
The new string with slashes instead of backslashes.

(Last Updated 3/20/2005)