In rule i have item LocalComputer_Network_MacAddress.
The result logInfo(“Rule”, "MAC -> " + LocalComputer_Network_MacAddress.state) is b8:27:eb:b9:32:c5, but i need all characters to upper case (B8:27:EB:B9:32:C5).
How can i do this?
Thanks
In rule i have item LocalComputer_Network_MacAddress.
The result logInfo(“Rule”, "MAC -> " + LocalComputer_Network_MacAddress.state) is b8:27:eb:b9:32:c5, but i need all characters to upper case (B8:27:EB:B9:32:C5).
How can i do this?
Thanks
You should really use .toString
anyway.
When you do use it, you get access to more methods
LocalComputer_Network_MacAddress.state.toString.toUpperCase
Thanks a lot!
This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.