• 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: Concatenating a string???
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HOW-TO: Concatenating a string???


  • Subject: Re: HOW-TO: Concatenating a string???
  • From: nicolas berloquin <email@hidden>
  • Date: Wed, 22 May 2002 20:31:11 +0200

- (NSString *)stringByAppendingString:(NSString *)aString

Returns a string object made by appending aString to the receiver. This code excerpt, for example:

NSString *string1 = @"I promise I will at least ";
NSString *string2 = @"try to read one line of the docs b4 asking";
NSString *result = [string1 stringByAppendingString: string2];


produces the string "I promise I will at least try to read one line of the docs b4 asking".

See Also: - stringByAppendingFormat:


On Wednesday, May 22, 2002, at 07:55 , Gjermund Gusland Thorsen wrote:

I need the equvilent of:

(Shell)

echo -ne >> "1st line"
echo -ne >> "
"
echo -ne >> "2nd line"

or (Filemaker)

<<1st line>> & "6" & "<<2nd line>>"
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: casting an int to string
  • Next by Date: Font Activation and availableFonts
  • Previous by thread: RE: casting an int to string
  • Next by thread: Font Activation and availableFonts
  • Index(es):
    • Date
    • Thread