system
1
(imported topic written by fhack)
I need help making a relevance that if the machine’s name begins with “LT” or “MD” uppercase or lowercase it will report true, anything else false.
So far I have these two relevance that work separate, but I need to combine them into one.
Q: (value of variable “COMPUTERNAME” of environment) contains “LT”)
Q: (value of variable “COMPUTERNAME” of environment) contains “MD”)
system
2
(imported comment written by fhack)
This works, but I need to add the part that if the name has it in lowercase:
((value of variable “COMPUTERNAME” of environment) contains “LT”) or ((value of variable “COMPUTERNAME” of environment) contains “MD”)
leewei
3
(imported comment written by Lee Wei)
Here is a statement to match with lower case:
(it as lowercase contains “lt” or it as lowercase contains “md”) of value of variable “COMPUTERNAME” of environment
system
4
(imported comment written by fhack)
Lee Wei’s response works.
(it as lowercase contains “lt” or it as lowercase contains “md”) of value of variable “COMPUTERNAME” of environment