Methods


MO_longestCommonPrefixForStrings
Returns longest common prefix of a list of strings.

MO_longestCommonPrefixForStrings

Returns longest common prefix of a list of strings.
- ( NSString *) MO_longestCommonPrefixForStrings;

The receiving array should contain NSString objects. This method will determine the longest common prefix for all the strings in the receiver and return it.

method result
The longest common prefix string.

(Last Updated 3/20/2005)