Is it possible to use an "and" (&&) with strings in an if statement?
I know that I can do it with integers:
if (a == 1) && (b == 2)
;do some stuff
endif
But, is it possible to do it with strings? Like:
if (strfind a "foo") && (strfind b "bar")
;do some other stuff
endif
I haven't been able to figure out the syntax...is it even possible? Thanks!!
Doug
I know that I can do it with integers:
if (a == 1) && (b == 2)
;do some stuff
endif
But, is it possible to do it with strings? Like:
if (strfind a "foo") && (strfind b "bar")
;do some other stuff
endif
I haven't been able to figure out the syntax...is it even possible? Thanks!!
Doug