How to capitalized a label text in iphone?
<pre><code> NSDate* date = [NSDate date];
    NSDateFormatter* formatter = [[[NSDateFormatter alloc] init] autorelease];

    //Set the required date format

    [formatter setDateFormat:@"MMM"];

    //Get the string date

    NSString* str = [formatter stringFromDate:date];
    [_lbldateLabel setText:str];
    [str uppercaseString];
</code></pre>

<p>i have the above code for displaying the month in label(_lbldateLabel),but i ant to show the  date in capital letter,now it shows "Dec",but i want "DEC".I put <code>[str uppercaseString];</code>,but nothing changes,How to do this.
Thanks in advance.</p>
