NSString handling with Xcode

Example code how to manipulate strings with XCode and NSString.
Xcode 4.2.1
Mac OS X 10.7.2
Merge or append strings with stringByAppendingString

NSString *firstString = @"First";
NSString *secondString = @"Second";
[self showMessage:[firstString stringByAppendingString:secondString]];

This example will merge the firstString and secondString to "FirstSecond" string and will be displayed in the showMessage function.

Return string with lowercase using the lowercaseString function will return the string in lowercase

NSString *firstString = @"First";
[self showMessage:[firstString lowercaseString]];


This example will return "First" in lowercase "first".