I have the same problem like this guy:
partition string in python and get value of last segment after colon
Mine is like:
IP-Adress: 1.1.1.1 Device: Fritzbox Serialnumber: 123456789
I want to only get the Device so my Output should look like: "Fritzbox" i dont need anything else.
result = mystring.rpartition(':')[2]
is this possible with this kinda code? If yes what do i have to change to cut the rest off?