• 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
String formatting problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

String formatting problem


  • Subject: String formatting problem
  • From: "Daniele M." <email@hidden>
  • Date: Mon, 20 Oct 2003 12:53:49 +0200

Hi,
I have four NSString of variable length. I need to apply a right align to all these string. Now i must to found the most length strings + 1.
With a cicle for each string i need to add before the first char of the string an empty string of length (max string+1)-(current string length).
Is there a method to add these " " characters without using insertStringAtIndex: method?

Thx
_______________________________________________
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: Re: NSArray/MutableArray subclass/extension
  • Next by Date: Implementing a create Handler for applescripts
  • Previous by thread: [OT] Open Source Goes to COMDEX
  • Next by thread: Implementing a create Handler for applescripts
  • Index(es):
    • Date
    • Thread