if I am given an string which is 1111 (no less than length 4) or 255255255255(no more than length 12).
I want to split up these numbers in every possible combination and create all possible valid IP addresses from them. For example,
for a given string "1902426"
The result should be
"1.90.24.26" "1.90.242.6" "19.0.24.26" "19.0.242.6" "190.2.4.26" "190.2.42.6" "190.24.2.6"
Ofcourse you cannot have anything with a leading "0", like "19.02.42.26"