Community forum

Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


thomas
2017-06-30T08:35:03Z
I would like to have a simple ternary operator in the variables section, ie an IF THEN ELSE shorthand function. That would make it easier to do stuff like this (just pseudo code):

IF some string contains 'x'
THEN return the string
ELSE
return ''

In ternary notation it would be something like this :

String.Contain('x') ? String : ''
Sponsor
Forum information
Support
2017-06-30T09:46:32Z
You already have this in the Logic section:

{LOGIC(If|String|Test|=%|Test string|Contains string|Does not contain string)}
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
thomas
2017-06-30T10:50:09Z
ah ok, I hadn't seen that. Thanks
Scroll to Top