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 #33646 is a reply to message #33645] Sat, 03 September 2011 19:52 Go to previous messageGo to previous message
forlano is currently offline  forlano
Messages: 1215
Registered: March 2006
Location: Italy
Senior Contributor
tojocky wrote on Sat, 03 September 2011 19:16

Hi,

It is very simple:
0. if first char is new line then create new record
1. first check if the next char is "
2. if first char is " yes then get value till next ", skip "," and repeat 1
3. if first isn't " then get next value till ,, skip "," and repeat 1

in your example, point 3 is never used.


Hope this help you.
Ion.



Hi Ion,

I hoped in something at level of Split().
What I done was to replace '",' with '|' and obtain a string suitable to be used with Split, then remove again the '"' in the substring.
Perhaps your solution is better.

Luigi
 
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 07:33:08 CEST 2025

Total time taken to generate the page: 0.05161 seconds