table

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



i have a file txt that is Code,Surname, Phone Number,Telefax

I do a loop to look the first 5 char of the string to read if the code is
the one entered

Do while not eof(1)
. line input #1, strBuffer
if mid(strBuffer,1,5) = txtCodeEntered.text then
......

How can i store the Surname tht is starting fixed at row 6 but variable
lenght?



.



Relevant Pages

  • Re: why I can not write to the file after initialize the MFC in a service program
    ... you don't use char, an obsolete data type ... Why do you need an intermedate buffer to write literal strings anyway? ... For example, if AfxWinInit fails, you copy a 45-character string into a ... So you are going to try to initialize MFC EACH TIME THROUGH THE LOOP? ...
    (microsoft.public.vc.mfc)
  • Re: why I can not write to the file after initialize the MFC in a service program
    ... you don't use char, an obsolete data type ... Why do you need an intermedate buffer to write literal strings anyway? ... For example, if AfxWinInit fails, you copy a 45-character string into a ... So you are going to try to initialize MFC EACH TIME THROUGH THE LOOP? ...
    (microsoft.public.vc.mfc)
  • Re: substring finding problem!
    ... char *strSubstr(char *str, char *subStr, unsigned lstr, unsigned lsubStr) ... I think, though, that this is a rather string ... decrease the no. of times the inner loop has to run... ...
    (comp.lang.c)
  • Re: K&R2, exercise 5.4
    ... int strend(char*, char*); ... Now ps points to the first character of a string which is one character ... * don't want to FAKE the array call ... outer for loop checks for each element of 1st array. ...
    (comp.lang.c)
  • Re: Parsing between a character and sysmbol
    ... I did say was that your statement of avoiding arrays inside loops whenever ... creating new String objects. ... This is what I got inside its main loop (I'm not ... the "-" char into an array of chars. ...
    (microsoft.public.dotnet.languages.vb)