Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8649689
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T13:37:20+00:00 2026-06-12T13:37:20+00:00

In my Application i got the data in MutableDictionary like this, ApproverDetails:( { APPROVER_ID

  • 0

In my Application i got the data in MutableDictionary like this,

 ApproverDetails:(
    {
    "APPROVER_ID" = "5000";
    "APPROVER_USER_NAME" = "38400 user";
    "END_DATE" = "12/29/10";
    "START_DATE" = "12/14/10";
    "SUBSTITUTE_ID" = SUPERVISOR;
    "SUBSTITUTE_USER_NAME" = "ACCESS ONLY";
    },
    {
    "APPROVER_ID" = "6000";
    "APPROVER_USER_NAME" = "ACCESS ONLY";
    "END_DATE" = "12/31/10";
    "START_DATE" = "12/15/10";
    "SUBSTITUTE_ID" = SSEEMON;
    "SUBSTITUTE_USER_NAME" = "Sunil Seemon";
    },
    {
    "APPROVER_ID" = "7000";
    "APPROVER_USER_NAME" = mit;
    "END_DATE" = "11/22/10";
    "START_DATE" = "11/09/10";
    "SUBSTITUTE_ID" = 2000;
    "SUBSTITUTE_USER_NAME" = mitul;
   }
 )

From above dictionary i want bifurcate data by key “Approved_User_Name” starting with “ACC”

and get bifurcated data into other Array.

Please suggest me how can i do this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T13:37:21+00:00Added an answer on June 12, 2026 at 1:37 pm

    Try this

    NSMutableArray *bifurcateArray=[[NSMutableArray alloc]initWithArray:nil];
    for (NSDictionary *temp in ApproverDetails) {
        NSString *string=[temp objectForKey:@"APPROVER_USER_NAME"];
        if ([string rangeOfString:@"ACC"].location!=NSNotFound && [string rangeOfString:@"ACC"].location==0 ) {
            [bifurcateArray addObject:temp];
        }
    }
    NSLog(@"bifurcated data : %@",bifurcateArray);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got an application that generates data for reports that look like: age <
This model is simplified, only used for demonstration. In my application got: Data public
I got the data from the mainframe application. That file is the name of
I've got an application that downloads data from a 3rd party at 3am every
I've got an application, which uses many listBoxes with data attached to them using
I want using GPS data (I got it from $GPRMC) in an desktop application(that
I've got a Flex application with Advanced Data Grids binded with XML and Atom
I've got a DataGrid in a Silverlight application with data in it. There's also
I've got an asp.net application where each client will have their own data entry
I've got a web application that, for performance reasons, throws any data sent into

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.