Microsoft KB Archive/109481

From BetaArchive Wiki
Knowledge Base


How to Strip Linefeeds from Exported (.TXT) Files

Article ID: 109481

Article Last Modified on 9/30/2003



APPLIES TO

  • Microsoft Visual FoxPro 3.0b for Macintosh



This article was previously published under Q109481

SUMMARY

After you have exported information from a FoxPro for Macintosh database, there may be linefeeds in the file. To remove these linefeeds, use the FxStripLF() function found in FOXTOOLS.MLB.

For example, the following code will remove the linefeeds from a dummy file called TEST.TXT located on the desktop:

   SET LIBRARY TO FOXTOOLS
   * Use the following line with Visual FoxPro for Macintosh
   * SET LIBRARY TO FOXTOOLS.CFM
   =FxStripLF( "Macintosh HD:Desktop Folder:Test.Txt" )
                

REFERENCES

FoxTools Readme file in FoxPro:Goodies:Misc folder


Additional query words: vFoxMac FoxMac 2.50b lf line feeds

Keywords: KB109481