Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Negative form of if passage contains tag

edited July 2015 in Help! with 1.x
So in SugarCube, you can do:
<<if tags().contains("day2start")>>

How do you do the negative, of a passage not containing that tag?

Not knowing the syntax, I've just done the rather awkward:
<<if tags().contains("day2start")>><<else>>do what I want to do in all other passages not containing this tag<</if>>

Which achieves the same effect, but is a bit roundabout.

Comments

Sign In or Register to comment.