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

  • Home
  • SEARCH
  • 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 8306923
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T18:25:39+00:00 2026-06-08T18:25:39+00:00

Okey, I have two strings containing numbers like shown here using debugger: String 1

  • 0

Okey, I have two strings containing numbers like shown here using debugger:

String 1

(gdb) po [event creator_id]
123456789
(gdb) p [event creator_id]
$1 = (NSString *) 0xad81d10

String 2

(gdb) po [delegate userid]
123456789
(gdb) p [delegate userid]
$2 = (NSString *) 0x7451b40

Now I want to check if they are equal to each other and therein lies the problem.

The if-statement below will for some reason not return true:

if ([[delegate userid] isEqualToString: [event creator_id]]) {

    NSLog(@"They are equal!");

}

Can someone please explain to me how this can happen? Thank you for your time!

  • 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-08T18:25:40+00:00Added an answer on June 8, 2026 at 6:25 pm

    It could be because either of below is FALSE

    [[delegate userid] isKindOfClass:[NSString class]]
    
    [[event creator_id] isKindOfClass:[NSString class]]
    

    po is “print-object” it prints the description (which is string) of object. The description property is available at NSObject level.

    Hope it helps you.

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

Sidebar

Related Questions

okey so here is my structure. one.php two.php three.php one.php includes both two.php and
Okey, here it goes. I have a block of code that repeats it self
Okey. Here's what I want to do: I have a windows application that sorts
I have string containing utf8 code in my HTML file such as /tr'ʌmpɪt/ ,
I'm trying to download multiple files using IntentService. The IntentService donwloads them okey as
I have a problem posting file via ajax jQuery function. I have something like
Lets say i have a Shape object that has a constructor like this: Shape(
I have a list of duplicate numbers: Enumerable.Range(1,3).Select(o => Enumerable.Repeat(o, 3)).SelectMany(o => o) //
I have two related problems that occur in the following situation. I have a
Okey, I agree - the title is useless. The thing is, I have no

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.