>Hi everybody,
>
>I added the info message at the bottom of my form:
>
>
>{{currentAccount.dateTime==null?"":"Account Created: "}}{{currentAccount.dateTime | date:'medium'}} {{String.IsNullOrWhiteSpace(currentAccount.operator)?"":"by"}} {{currentAccount.operator.TrimEnd()}} {{String.IsNullOrWhiteSpace(currentAccount.salespoint)?"": "at"}} {{currentAccount.salespoint.TrimEnd()}}</label>
>
>I don't understand why do I still see 'by' and 'at' but no operator and no salespoint?
>
>Do you see what is wrong with my expression?
>
>Thanks in advance.
--------------
UPDATE. After I removed TrimEnd() it started to work and show both operator and salespoint. Not sure why adding TrimEnd() made them not to show.
If it's not broken, fix it until it is.
My Blog