on 05-28-2015 8:53 AM
Hi experts,
Here is my bank payment file delimited with commas.
The format includes just 4 fields.
format-> Header,CompanyName,CompanyID,IsLocal
sample data -> HD,Sample Company CO., LTD,1,NO
But the bank requires to double-quote fields with embedded commas.
I need to double-quote the company name "Sample Company Co., LTD" because it contains a comma.
I don't know how to do that.
Please kindly suggest.
Thanks in advance.
Best Regards,
Fred.
Hi Fred,
The easiest way to do is to create two fields before and after Company name, which holds the constant value in this case double quotes ( " ). This works as a concatenate.
Hope this helps.
Thanks,
Santosh Kumar J
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Not sure if I understood your scenario properly, but can't you check if the company name is having "," in it and if yes the just concatenate double quotes?
You can use Find function to search for comma.
Thanks & Regards,
Meghna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.