I'd like to take a user input (like an IP Address) and split the parts into separate variables
for example
255.255.255.0
Now, I would like to split the string by the decimal points and save each part to its own variable. 255 into variable1, 2nd 255 into variable2, 3rd 255 to variable3 and 0 to variable 4 as integers.
How can I do this?