I don't get how to cast an integer to string
I don't get how to cast an integer to string
- Subject: I don't get how to cast an integer to string
- From: "Ted Petrosky" <email@hidden>
- Date: Wed, 22 May 2002 08:35:10 -0400
I am new at this so please...
i have a mutable string and I want to insertstring atindex however i need to
insert an integer. like in a c sting ("this is an integer %i.", integer).
how can I cast the integer to string:
int j=65;
NSMutableString *aFormattedString = [[NSMutableString alloc]
initWithFormat:@"There are rows"];
[aFormattedString insertString:[j stringValue] atIndex:10];
I am just learning how to RTM.
Thanks,
Ted
_______________________________________________
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.