Re: Beginners question on String handling
Re: Beginners question on String handling
- Subject: Re: Beginners question on String handling
- From: Dave Hersey <email@hidden>
- Date: Wed, 26 Mar 2008 00:10:44 -0400
This isn't an Xcode tools question which is what this list is all
about. You should really be asking on something like the Cocoa-dev or
Carbon-dev lists, depending on what you're working with.
For Cocoa,
NSMutableString is your friend.
NSMutableString *myBigOldString = [[NSMutableString alloc] init];
[myBigOldString appendString: [m_textField1 stringValue]];
[myBigOldString appendString: [m_textField2 stringValue]];
or
[myBigOldString appendFormat: @"textfield 1 = %@, textfield 2 = %@",
[m_textField1 stringValue], [m_textField2 stringValue]];
...
[myBigOldString release];
Anyway, read up on NSMutableString.
- d
On Mar 25, 2008, at 11:53 PM, Alfred Schmidt wrote:
Can someone point be to the procedure on how to quickly calculate a
combined string from separate Text fields
• or point me to some sample code that handles separate strings some
fields to combine them.
Thanks can't seem make any progress in this area.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden