Kodi Community Forum

Full Version: SortLetter and special characters
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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