I have a string like the following :
NSString *a = @"* This is a text String \n * Followed by another text String \n * Followed by a third"
I need to print it as three lines. Now, I wanted the Asterix points in it to be bolded. So I tried :
NSMutableAttributedString *att = [[NSMutableAttributedString alloc] initWithString:a];
[att addAddtribute:NSFontAttributeName value:SOMEBOLDFONT range:[a rangeOfString:@"*"]];
But this only bolds the second and third asterix. How do I get them all bold?