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...
I'm trying to automate a number of VPN connections so that I can launch them through batch files and have them connect automatically. The batch file line that does the call looks like this (where 13607 is the profile name):
C:\PROGRA~1\CISCOS~1\VPNCLI~1\vpnclient connect sd 13607
It connects...
Just a quick question. I know this can be done with more lines, but I'm wondering if it's possible to make the following work in one line.
(values(%my_hash)) = split(/\|/,$line);
I was hoping this would work since you can do the same thing with a regular array, but it's not working as is...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.