How are you getting the file content into the string?
If you are using fgets() use the optional parameter that sets the max length of a line. This will allow you to easily read lines up to 8k bytes.
If your lines happen to be longer than that you can use fread() in a loop until you hit the CRLF
>In my app i need to get the length of the line in a text file, to compare if the incoming data (text) file is of correct length, but the line of the file has 290 chars but len() returns only 254, i know its the limitation of foxpro, but is there any other way to determine the length of the text file.
>
>eg this is one record from the text file
>
803524101121 1 52000A999999999I III 6 81942FB51847810305184781034161 DELAWARE AVE. WAPPINGERS FALLS NY125902719DB 30 3088820000 219000109510000 2190002190 219000109521 2A8888B 5888 147384ADY