Hi All,
Can anyone tell me how the following can be achieved. I have a string as given bellow. "This is a simple text with an attachment <<ATTACHMENT>>" I would like to replace the occurrence of the pattern "<<ATTACHMENT>>" with a NSAttributedString (Containing a icon). Can some one please let me know how this could be achieved. I have looked for various approaches such as using NSRange or NSMutableString but am unable to figure our replacing of a string pattern with a NSAttributedString. Thanks in Advance, Sandeep. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com