I have a string of the form
"http://something.another.thing:13541/random-text.txt"
I want to extract the "something.another.thing:13541"
part out of it, so I am using
sscanf(uri, "http://%s/%*s", host);
To read the specified part into a buffer host
. %*s
should be ignoring the parts of the string after /
right?