Hi Friends,
I was in a search of a function that would give the number of occurrences of a character or a string in another string and finally I landed in the following solution. If you have any other way to achieve it, please share it.
+ (NSInteger)occurrencesOf:(NSString *)str InString:(NSString *)mainString
{
return [[mainString componentsSeparatedByString:str] count];
}
Thank you.
10+ Beautiful M1136 Mfp Printer Software - HP LaserJet Pro MFP M28w Drucker
- HP Store Deutschland / 100% safe and virus free.
-
Need one cd/dvd drive installed on your computer. Compiled over the years
from the fron. Download hp laserjet pro m1136 multifunction printer drivers
fo...
4 years ago
No comments:
Post a Comment