crlf

  • 09 Jan

    How to search for a string and replace it with a CRLF

    How to search for a string and replace it with a CRLF

    Q: Is it possible to search for a string and replace it with a CRLF (as we say in windows) [Return]

    The main issue is to replace <br/> with a carriage return Line feed

    A: Yes this is possible by adding the following script:

    • We used a Windows folder as Source:

    limagito file mover Windows folder as source

    • Because we only want to process text files, we added the following include filename filter:

    limagito file mover file filter setup

    • As Destination we added our Pascal Script option, do not forget to adjust the ctOutputPath const:
      • Please add the following script: link
      • This script will replace all <br/> entries by #13#10 (CRLF)

    limagito file mover destination setup

     

    #fileconversion #managedfiletransfer #filetransfer #filemanagement

    If you need any help with this question, please let us know.

    Best Regards,

    Limagito Team

     

  • 04 Apr

    Q&A 42: Remove quotation marks around the data in a csv file

    Q: Remove quotation marks around the data in a csv file. An Excel file is saved that has quotation marks around the data in the file. Which can be removed by opening Excel and re-saving as the CSV, but this is a manual step at this time. Would we be able to setup a Limagito rule to be able to do something similar for us?
    A: Yes this is possible using our XLS as Destination option. XLS as Destination also handles CSV files. Just be sure that the source files have .csv as extention so we know we need to handle them differently.

    Some screenshots to get you started:

    1.  Since we only want csv files, be sure the set the ‘Filename Include’ filter to *.csv in the ‘File Filter Setup’.

    Limagito File Mover filename inlcude filter

    2. We added XLS as Destination, XLS as Destination also handles CSV files. Just be sure that the source files have .csv as extention.

    Limagito File Mover XLS/CSV as Destination

    3. XLS.CSV as Destination setup. The Output File Format will be ‘Text, Delimiter separated values – with CRLF as End Of Line’.

    Limagito File Mover CSV Remove Quotation Marks

    Also ‘Text, Delimiter separated values – with LF as End Of Line’ which was added in version v2021.4.4.0

    This way you also can convert:

    • CSV with CRLF as Source to CSV with LF as end Of Line Destination
    • CSV with LF as Source to CSV with CRLF as end Of Line Destination

    Limagito File Mover CSV Remove Quotation Marks

    To remove the quotation marks you need to enable ‘Import full csv file as text’ option (Common Tab).

    Limagito File Mover import full csv file as text

    #FileTransfer

    If you need any help with this ‘Remove quotation marks’ request, please let us know.

    Happy Easter,

    Limagito Team

    By Limagito-Team Q&A XLS/CSV , , , ,
SEARCH