Hello,
I am looking to write a script and use the getoctet command to obtain the third octet from the node IP address I am running the script on. I looked through the documentation and examples and couldn't quite figure out what was the correct way to do this. I basically need the IpAddr in string SetOctet(string ipAddr, int octetPosition, string octet) is equal to the node's IP address. So if my node IP is 10.10.4.10, I want getoctet to extract the 4 from the node IP address I am running the script on. Can this be done? Sorry if the explanation is bad I am new to scripting.