‎31-05-2019 01:56 PM
When accessing the "Link Comment" property via the SDK:
menuItem.GetCollection("Folder of Favorites").Item(1).GetProp("Link Comment")
I am getting the value back but its int he RTF format:
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0 MS Shell Dlg;}} \viewkind4\uc1\pard\f0\fs20 My Awesome Link Comment\par \par \b\par }
Is there a way to just retrieve the text "My Awesome Link Comment" and exclude all the RTF formatting without doing it manually?
Solved! Go to Solution.
‎27-03-2020 11:43 AM
I was looking for how to solve the same problem. Thank you!
‎31-05-2019 07:05 PM
Perfect, thanks again Jerome.
‎31-05-2019 02:50 PM
‎31-05-2019 02:05 PM
Hello
Use 'display' format
Ex
....Item(1).GetProp("LinkComment","Display")