read string data with irregular white space