Home » U++ Library support » U++ Core » Retriving data in record containing ""
Re: Retriving data in record containing "" [message #33674 is a reply to message #33670] |
Mon, 05 September 2011 12:52 |
|
forlano
Messages: 1187 Registered: March 2006 Location: Italy
|
Senior Contributor |
|
|
mirek wrote on Mon, 05 September 2011 11:19 |
forlano wrote on Sat, 03 September 2011 10:47 | Hello,
I have records like this
"81116","180","","Lüigi,MacFarlane,Dr.","M","D","1948 ","201113","2577","173","2593","GM","4600010","GER "
I need to retrive the data separated by ','. Unfortunately this sign is used inside column 4 and give problem to Split(). Column 4 sometime has one ',' and sometime two ','.
Is there some special method to process such a record?
Thanks,
Luigi
|
If those strings are C-like, use CParser.
If it is Csv, I happen to have some routines (not in U++ sources) for that as well...
Mirek
|
Yes, it a CSV file (the same that gave problem with accented character).
Luigi
|
|
|
Goto Forum:
Current Time: Tue May 28 10:25:38 CEST 2024
Total time taken to generate the page: 0.00534 seconds
|