Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 02-09-2010, 02:14 AM   #1 (permalink)
rahul
Registered Member
 
Join Date: Jun 2009
Posts: 19
Default Find occurrences of substring within a string.

Can any one help me to find out count of occurrences substring within a string.

NSString *str = @"The Quick Brown Fox Brown";

i want count of occurrence of word "Brown" from above string.

Thanks
rahul is offline   Reply With Quote
 

» Advertisements
» Online Users: 877
29 members and 848 guests
ADY, anshuk1219, apatsufas, denied, dreamer11, Error404, FAED, gmarro, Grinarn, ilmman, leahov, magnett, MarkC, markn, Maverick1st, Nicoloren, nitingohel, pratikchandak, R40ul, rodrigoK, sethaver, sigluca, soni, Sunny46, touchcream, tymex, woody08
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,866
Threads: 89,225
Posts: 380,691
Top Poster: BrianSlick (7,129)
Welcome to our newest member, sethaver
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 06:04 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.