Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9175833
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T16:58:49+00:00 2026-06-17T16:58:49+00:00

How would you escape properly the delimiter char from actual content when exporting an

  • 0

How would you escape properly the delimiter char from actual content when exporting an XLS to CSV?.

When I export a file, the delimiter is ";" character which is also found in some fields. I need to escape it

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T16:58:50+00:00Added an answer on June 17, 2026 at 4:58 pm

    There is actually no completely accepted standard for the CSV “format”.

    Standard practice, however, is:

    1. Enclose any field values with a “special character” in double-quotes.

    2. For any field values that are enclosed in double-quotes, escape any internal double-quote characters in the field by repeating the double-quote character.

    So, ID = 10, Name = Doe; John, Nickname = Johnny “The Chin” would look like this:

    10; "Doe; John"; "Johnny ""The Chin"""
    

    if you’re using semi-colons (commas are more common, hence the name Comma Separated Values).

    Special characters that require the quoting are the delimiter (whatever it is), the double-quote character itself, and line breaks (if both the sending and receiving programs support line breaks within a field). However, if both the sending and receiving programs support the use of double-quotes around field values, it doesn’t hurt to include them for all fields.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Would like to parse IPv4 address from exit-addresses . Format of the file: ExitNode
I'm taking a look at how to properly escape data that comes from the
In a xml config file I have a delimiter property configured as unicode escape
Would it be possible to extract the following information from logs? Start up/Shut down
Possible Duplicate: How to properly escape html form input default values in php? I
I need to export a generic list to CSV. Obviously I could write my
I've been doing some reading on mysqli_real_escape_string(), and, after getting my content properly escaped,
The following query works properly to pull company names from one table into jquery
I'm trying to parse a multipart/form-data request properly, it works unless the file that
Applescript does not seem to properly escape strings. What am I doing wrong? Example:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.