Get user entered string length with pointer arithmetic.