CBroe gave the to finding the answer to my problem. The string was prefixed with spaces till there we're 16 characters.
So the substr was working correctly, i got back 2 spaces, which didn't show up in the echo.
var_dump($var) gave me the insight to find this out.