Page 1 of 1

Convert String to Integer

Posted: Mon Jul 10, 2017 1:13 pm
by Vermesser
Hello,

how is it possible to convert a String Output to a Integer?

Example:

{Left(StringValue,IIF(StringValue.IndexOf("xxx")==29,33,3))}


I need to convert the IIF Output from a String to a Integertyp, how does this work?

Best regards

Re: Convert String to Integer

Posted: Mon Jul 10, 2017 8:46 pm
by Alex K.
Hello,

Please try to use the following expression:

Code: Select all

{Left(StringValue,(StringValue.IndexOf("xxx")==29?33:3))}
Thank you.

Re: Convert String to Integer

Posted: Tue Jul 11, 2017 8:13 am
by Vermesser
Hello,

it works


Thank you very much!

Re: Convert String to Integer

Posted: Tue Jul 11, 2017 10:44 am
by Alex K.
Hello

We are always glad to help you!
Please let us know if you need any additional help.

Thank you.