Does SubString ignore spaces?
#1
I'm trying to display the date in day format but not having any luck.

I've tried using the following condition but it seem to be returning true because of the year.

PHP Code:
<visible>SubString(System.Date)</visible

Even inserting & # 3 2 ; (minus the spaces) doesn't work so does StringCompare ignore spaces?

Thanks.

EDIT: Thinking about it, barring the inclusion of my dates request, this is a perfect example for the use of skin variables.
Reply
#2
It's how our parsing code works - it trims every white-space character in the beginning and end of each parameter - if You want to actually use spaces use this:
Code:
<visible>SubString(System.Date," 1 ")</visible>
Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first

My previous forum/trac nickname: grajen3
Reply
#3
Thanks pieh, you've saved the day.

EDIT: All working -

Image
Reply

Logout Mark Read Team Forum Stats Members Help
Does SubString ignore spaces?0