Input(channel, number)
Data read with the Input function is usually written to a file with Print # or Put. Use this function only with files opened in Input or Binary mode.
Unlike the Input #function, the Input function returns all of the characters it reads including commas, carriage returns, linefeeds, quotation marks, and leading spaces.
With files opened for Binary access, an attempt to read through the file using the Input function until EOF returns True generates an error. Use the LOF and Loc functions instead of EOF when reading binary files with Input, or use Get when using the EOF function.
Input # Function | Returning Strings from Functions