He had been long enough about town to have known better,--and as he now walked along the streets, he almost felt that he ought to have known better. 
He had been around long enough to know better - and he almost felt that he ought to have known better. 