SortLetter and special characters - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12) +--- Thread: SortLetter and special characters (/showthread.php?tid=345870) |
SortLetter and special characters - bsoriano - 2019-08-01 Hello all, How would I go about comparing the Listitem.SortLetter to a special character? I have movies whose title start with ., ', ", +. [ I am sorry if this is a noob question, I have not been able to do this by using String.IsEqual(ListItem.SortLetter,+), for example, since this leads to Kodi outputing in the log that there is an error parsing the boolean expression. I tried also putting the character between single quotes (') and double quotes ("), but that did not work either. Is there a way to "escape" these special characters for string comparisons in the skinning engine? Again, I apologize if I am missing something obvious here. Any help will be greatly appreciated. Regards, Bart |