U++ framework
Do not panic. Ask here before giving up.

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: 1244
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: Wed Sep 16 16:49:34 GMT+2 2026

Total time taken to generate the page: 0.01558 seconds