Page 1 of 1

IndexOf function

Posted: Thu May 02, 2013 11:55 pm
by drexlcastr
I found an example of using the string function IndexOf() in an expression on the Fx board. Is there something similar that works for WinRT? IndexOf doesn't seem to be working for me.

{BusinessObjects.StringColumn.IndexOf("StringToLookFor") > 0}

Any suggestions?

Re: IndexOf function

Posted: Fri May 03, 2013 11:15 am
by HighAley
Hello.

We need to know structure of your business object.
Please, send us a sample project which reproduces the issue.

Thank you.

Re: IndexOf function

Posted: Fri May 03, 2013 7:45 pm
by drexlcastr
I apologize. When I was putting a sample report together I found that the IndexOf function was working just fine. I realized that the logic in my main report was wrong I should have been looking for an index of >= 0. I've fixed the logic and my report is working as it should. Thanks for your quick reply.

Re: IndexOf function

Posted: Mon May 06, 2013 7:41 am
by HighAley
Hello.

It's great!
Let us know if you will need any additional help.

Thank you.