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 6318713
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T15:40:25+00:00 2026-05-24T15:40:25+00:00

I am doing parsing on xml file and fetched data from xml file and

  • 0

I am doing parsing on xml file and fetched data from xml file and store that in array and further to rows of UITableView. I want to remove the extra word at 5th index ‘\U2019’ and want to merge word ‘i’ and ‘m all alone’ to one row f UITableView.

"WHERE DOES LOVE LIVE",
"TRANSFORMATION OF THE SELF",
"EMPATHY STRUCTURES",
"MORE QUESTIONS THAN ANSWERS",
I,
"\U2019",
"M ALL ALONE",
"THE WILL TO LIVE",
"THE GUILT OF SELF DENIAL",
HOPELESSNESS,
"SOCIAL WANNABIES",
"THE POWER OF HOPE"

bunch of code:

- (UITableViewCell *)tableView:(UITableView *)tableViewcellForRowAtIndexPath:
  (NSIndexPath *)indexPath
 {   static NSString *CellIdentifier = @"Cell";

UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
if (cell == nil) {
    cell = [[UITableViewCell alloc] initWithFrame:CGRectZero];
}

if(indexPath.row > 0) 
{ cell.textLabel.text = [blogtitle objectAtIndex: indexPath.row];
}}`
- (void)parser:(NSXMLParser *)parser foundCharacters:(NSMutableString *)string
 {
 NSString *newString = [string  stringByTrimmingCharactersInSet:
 [NSCharacterSet  whitespaceAndNewlineCharacterSet]];

// save the characters for the current item...
if ( [currentElement isEqualToString:@"title"]) 
{ 
    if ([newString length] > 0) 
    {
      // NSMutableString *base64String = [newString base64EncodedString]; 

      [blogtitle addObject:newString];
      }         

    NSLog(@"blogtiltlearray...%@",blogtitle);
 }}`
  • 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-05-24T15:40:25+00:00Added an answer on May 24, 2026 at 3:40 pm

    It’s easy to remove an object at a specific index. Try:

    [blogtitle removeObjectAtIndex:index];
    

    EDIT: You can call [tableView reloadData]; in order to remove the row, assuming you’ve already loaded the tableView BEFORE you manipulated the array.

    You can merge 2 strings together via:

    NSString * mergedString = [NSString stringWithFormat:@"%@%@", string1, string2];
    

    and you can replace one object in an array with another via:

    [blogtitle replaceObjectAtIndex:index withObject:mergedString];
    

    Hope that helps!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to get data from an XML file and store it into a
I am doing this tutorial but with a diferent xml http://blog.insicdesigns.com/2009/03/parsing-xml-file-using-codeigniters-simplexml-library/ , but I
I am doing application with parsing XML file. I used TransformerFactory to modify XML
I just need confirmation that I am doing XML parsing right. Am I doing
I'm trying to grab the value of an array that I got from parsing
I'm writing a Java GUI application that is doing some XML parsing and analysis.
Im parsing an xml file. My XML handler, my object that holds an Arraylist
I am parsing some vertice information from an XML file which reads as follows
I am doing mail parsing application which required to convert the HTML file to
I'm doing some Objective-C programming that involves parsing an NSXmlDocument and populating an objects

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.