Is there a way to validate a CSV string in .NET?

1142275 pts.
Tags:
.NET
CSV
Hi experts, Does anyone know if there's a way for me in .NET that would validate my CSV string? Is there something in C# that would help? Thanks, Doug
1

Answer Wiki

Thanks. We'll let you know when a new response is added.

I think the TextFieldParser class could be helpful for that.

The link includes the class definition and an example of how to use it.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • ToddN2000
    What are you trying to validate? That it meets the table format or just that it is a valid CSV with one or more elements?
    132,520 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: