Announcements
str text = '"a","x,y,z","b"';
var encoding = System.Text.Encoding::UTF8;
using (var stream = new System.IO.MemoryStream(encoding.GetBytes(text)))
{
CommaTextStreamIo io = CommaTextStreamIo::constructForRead(stream);
container values = io.read();
}
Edit: Disregard my answer 😇
No out-of-the-box methods in F&O can handle this, unfortunately.
I haven’t tested it, but the CSV importer used for tax services implements the TextFieldParser
from VisualBasic, which can handle this scenario. I’d suggest copying that method into your own class.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,782 Super User 2024 Season 2
Martin Dráb 229,067 Most Valuable Professional
nmaenpaa 101,150