added InputStream to String examples