Add peekString method for completeness