1. I am uploading file using temporary storage class as below
file.inRecordDelimiter('\r\n');
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.
André Arnaud de Cal... 291,431 Super User 2024 Season 2
Martin Dráb 230,503 Most Valuable Professional
nmaenpaa 101,156