Re: formatted strings in Swift
Re: formatted strings in Swift
- Subject: Re: formatted strings in Swift
- From: Quincey Morris <email@hidden>
- Date: Sat, 03 Sep 2016 02:23:18 -0700
- Feedback-id: 167118m:167118agrif8a:167118snOXEO4QuZ:SMTPCORP
On Sep 3, 2016, at 02:06 , Gerriet M. Denkmann <email@hidden> wrote:
>
> By the way: what I really wanted to do is:
> let s = String(format: “”, someString.endIndex )
I don’t understand this. Is 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 (email@hidden)
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:
This email sent to email@hidden