LCS and LD in NSString Category