hide image if var >1
October 25, 2008 12:00 AM
A tip for anyone who wants to use this for many elements within a variable, particularly numbers -- instead of just adding 1, 2, and 3 to the string, add ~1~, ~2~, and ~3~, etc... that way, 1 and 2 are separated from each other and can never be confused for 12 or 21 when the conditional is searching the string.A tip for anyone who wants to use this for many elements within a variable, particularly numbers -- instead of just adding 1, 2, and 3 to the string, add ~1~, ~2~, and ~3~, etc... that way, 1 and 2 are separated from each other and can never be confused for 12 or 21 when the conditional is searching the string.
Discussions have been disabled for this post