I am reading through a text file by character. The way the file is set up is User Name <tab> User Group <newline> I've been researching and cannot find a way to say if a <tab> or <newline> character is encountered, assign next character string to new variable name. (I.E...Once <tab> is encountered, end assigning characters to USER_NAME. Once <newline> is encountered, end assigning characters to USER_GROUP, loop)
Any ideas of how to set up this do until statement? Or a better way to set this up?
Thanks
**(The USER_NAME and USER_GROUP are variable lengths so I cannot just read by inputFile.Read(8) or so.)
Any ideas of how to set up this do until statement? Or a better way to set this up?
Thanks
**(The USER_NAME and USER_GROUP are variable lengths so I cannot just read by inputFile.Read(8) or so.)