We're doing network automation with python you often need to work with strings.
I'm going to set my router IP equal to 1 on 2 1 6 8 1 2 what I'm going to do now is set IP to Router
IP but I'm going to split the string.
In other words I'm going to break it up on a dot or period so IP looks like that now it's actually a
list.
Notice I've broken up 1 9 2 1 6 8 1 or 2 which is a string into a list now.
That means I can now extract for instance a value from this list.
So let's extract the second value or the first value or the third value or the fourth value and I should
actually do it that way.
Notice we starting from zero.
So here I created a string.
I broke it up or split it based on this character and noticed it created a list which I can work with
more easily.