Re: short question but I don't know how to describe it
Re: short question but I don't know how to describe it
- Subject: Re: short question but I don't know how to describe it
- From: Sherm Pendley <email@hidden>
- Date: Sun, 7 Mar 2010 19:19:45 -0500
On Sun, Mar 7, 2010 at 7:07 PM, Marx Bievor <email@hidden> wrote:
> Hi,
> I can substitute a String with %@ and an int with %d... like in return @"Hi
> I am %@ and %d years old", name, age;
> what is the right command to substitute a bool and a float? I cannot find
> any reference at apple's docs.
> does anyone have a list of those commands?
They're called "format specifiers," and they're listed here:
<http://developer.apple.com/mac/library/documentation/cocoa/conceptual/Strings/Articles/formatSpecifiers.html>
sherm--
--
Cocoa programming in Perl:
http://www.camelbones.org
_______________________________________________
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