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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T06:32:01+00:00 2026-06-03T06:32:01+00:00

I just started using strings file in my projects. Or well, i’m trying to.

  • 0

I just started using strings file in my projects. Or well, i’m trying to.

I had an error for a few days, and finally figured out you actually have to make strings in the file with “” and end the lines with a ; – that was a bummer to figure out 😉

Anywhoo, now i’m trying to get it sorted out and separated into smaller strings. It’s working like a charm, but i just can’t seem to get rid of the “” and ; on each line of the string.

For instance, i have this in my strings file (i’m separating by comma):
“This is a string,This is another string,And a final one”;

I am trying to get it into 3 different strings, and after having done it, it looks like this in my 3 strings objects:

“This is a string
This is another string
And a final one”;

So i need to remove the ” in string 1, and the ” + ; in string 3.

I hope it made sense. I really can’t seem to figure this one out, as i haven’t really worked with sorting around in strings too much, and yet alone working with a strings file.

Thanks on advance.

  • 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-03T06:32:03+00:00Added an answer on June 3, 2026 at 6:32 am

    This should do the trick if ALL strings have the ” and “; at the beginning/end of the total string.

    firstString = [firstString substringFromIndex:1];
    lastString = [lastString substringToIndex:[lastString length] - 3];
    

    If you want to remove all occurances of ” and ; use this before splitting:

    totalString = [totalString stringByReplacingOccurrencesOfString:@"\"" withString:@""];
    totalString = [totalString stringByReplacingOccurrencesOfString:@";" withString:@""];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just started using SASS and I am trying to figure out how to
I've just started using DOM and wanted to parse an Android XML layout file
I just started using subclipse for my class projects after a re-writing half of
I've just started learning C# and had created this simple configuration file generator for
Just started using Sencha Touch 2 and need to integrate the Leaflet plugin https://github.com/VinylFox/Ext.ux.touch.Leaflet/tree/master/src
I just started using the Eclipse IDE and for a first test I created
I just started using gApps scripts and I have run into two problems with
I just started using Caliburn.Micro and I've noticed in all the examples that the
I just started using GNU Emacs on my Mac OS X Lion and I
I just started using Maven and I read that plugins are additional components that

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.