• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to concatenate two values?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to concatenate two values?


  • Subject: Re: How to concatenate two values?
  • From: Kay Roepke <email@hidden>
  • Date: Fri, 4 Mar 2005 00:31:18 +0100


On 3. Mar 2005, at 13:35 Uhr, Ronald Hofmann wrote:

Something like "myString= myPath&now;" but this does not work because of the diffenrent types.

Actually that wouldn't even work for same types...

anyway have a look at the docs:

file:///Developer/ADC Reference Library/Documentation/Cocoa/ Reference/Foundation/ObjC_classic/Classes/NSCalendarDate.html#// apple_ref/doc/uid/20000446/ECFBCCJF

specifically:

description

- (NSString *)description
Returns a string representation of the receiver. The string is formatted as specified by the receiver’s default calendar format. You can find out what the default calendar format is using the method calendarFormat.


The example in the docs for -[NSCalendarDate description] show what you want to achieve...

I'd suggest getting a good book on Cocoa/Objective-C programming. Consider buying the Hillegas (personal preference, but hey...;-))

Regards,

Kay
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >How to concatenate two values? (From: Ronald Hofmann <email@hidden>)

  • Prev by Date: Re: How to concatenate two values?
  • Next by Date: Re: How to concatenate two values?
  • Previous by thread: How to concatenate two values?
  • Next by thread: Re: How to concatenate two values?
  • Index(es):
    • Date
    • Thread