On Sep 3, 2016, at 02:06 , Gerriet M. Denkmann <gerr...@mdenkmann.de> wrote:
> 
> By the way: what I really wanted to do is:
> let s = String(format: “%9d”, someString.endIndex )

I don’t understand this. Is %9d a typo for %9s? Or are we now talking about 
numbers instead of strings? I don’t get how endIndex suddenly came into this.

Also, what are you expecting String (someString.endIndex) to be and/or mean?

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to