how to pass more parameters in nsrange for checking range of strings in iphone
                

               

                              
                 

                   i want to check whether string present .png,.pdf,.htmlfor that i m using 
                                          NSRange foundRange = [stringrangeOfString:@"pdf"];
                                        for 1 parameter that is @"pdf",its working but i 
                  want to check for  @"png",@"html" and more parameters
          
                 
Here is code now m using
              NSRange foundRange = [string rangeOfString:@"pdf"];
is their any code for that
..plz let me know
thanks

how to pass more parameters in nsrange for checking range of strings in iphone
===

                

               

                              
                 

                   i want to check whether string present .png,.pdf,.htmlfor that i m using 
                                          NSRange foundRange = [stringrangeOfString:@"pdf"];
                                        for 1 parameter that is @"pdf",its working but i 
                  want to check for  @"png",@"html" and more parameters
          
                 
Here is code now m using
              NSRange foundRange = [string rangeOfString:@"pdf"];
is their any code for that
..plz let me know
thanks
