How to Strip Linefeeds from Exported (.TXT) Files (109481)



The information in this article applies to:

  • Microsoft Visual FoxPro for Macintosh 3.0b

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

Modification Type:MajorLast Reviewed:9/30/2003
Keywords:KB109481