2019-08-01, 00:28
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
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