Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » Retriving data in record containing ""
Re: Retriving data in record containing "" [message #33670 is a reply to message #33644] Mon, 05 September 2011 11:19 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
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
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Need help about the codepage!
Next Topic: isnan [BUG?] fix for Core OSX11
Goto Forum:
  


Current Time: Tue Aug 26 04:41:16 CEST 2025

Total time taken to generate the page: 0.05786 seconds