on 04-21-2009 9:19 AM
Hi everybody,
what's wrong with this expression:
If ( stringindexof( Local.string , Local.search_string ) == 0 , true , false)
I get an "Invalid variable in expression If" error.
Isn't it possible to connect functions together?
or the more spectific question: How is it possible to get true or false if a string contains another one?
Regards,
Matthias
Just take a closer look at the difference between the built-in functions : If and if(boolean, value1, value2)
So when you are using the boolean expression the clause will be if, not If (small 'i', instead of capital 'I')
Regards
Som
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Matthias Pröller,
I guess you have used small letters for if syntax.. Error is caused by the space between if and (
ensure it looks like if(.
BR,
SB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
In the Conditional Action Block, you can map input1 to
stringindexof( Local.string , Local.search_string ).
If it will retun 0, means false. If it will retun 1, means true.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
10 | |
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.