[PLUGIN] CSV, CSV2Array, CSV2Dictionary

Post your completed addons to share with the community

Post » Sat Nov 12, 2011 2:45 am

Last edited by rexrainbow on Mon Jun 29, 2015 6:30 am, edited 2 times in total.
B
97
S
22
G
176
Posts: 4,108
Reputation: 103,019

Post » Sat Nov 12, 2011 4:26 am

Oh this sounds useful. Nice addition !
Keep up the good work rexrainbow.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,998
Reputation: 57,786

Post » Sat Nov 12, 2011 10:38 am

This looks interesting rexrainbow.

Thanks for this and your other plugins. Looking forward to more.
B
46
S
23
G
7
Posts: 459
Reputation: 6,763

Post » Sat Nov 12, 2011 3:47 pm

Note that YQL can output any of its data to csv.
triptych2011-11-12 15:48:19
B
18
S
3
G
5
Posts: 41
Reputation: 4,398

Post » Sat Nov 12, 2011 5:01 pm

Tnx a lot Rex
B
159
S
38
G
11
Posts: 229
Reputation: 17,361

Post » Mon Nov 14, 2011 12:57 am

Thanks for this Rex.

This seems to work well for me, but is there a way to have commas in a cell without it screwing up the loading of an array? For example, if I want a string value of "Hello, how are you?" in one cell, is there a way to specify that that comma NOT be interpreted as a new cell?
B
2
G
2
Posts: 5
Reputation: 1,120

Post » Mon Nov 14, 2011 1:54 am

@theletterm

I think "Hello, how are you?" can be parsed in this csv parser to get whole string with ",".
B
97
S
22
G
176
Posts: 4,108
Reputation: 103,019

Post » Mon Nov 14, 2011 12:34 pm

Ah, I see, that seems to work. Thanks!
B
2
G
2
Posts: 5
Reputation: 1,120

Post » Fri Nov 18, 2011 11:54 am

Hi Rex,

I don't understand what you said about using double quotes for comma in a string. Please do you has a sample?

Thanks
B
89
S
5
G
7
Posts: 164
Reputation: 7,546

Post » Fri Nov 18, 2011 1:35 pm

Excel:


CSV:
[code],Bill,Jerry
Talk,"Hi, good morning",What's funny[/code]

The string with ',' will be added double quotes.
[code]Hi, good morning -> "Hi, good morning"[/code]

Otherwise
[code]What's funny -> What's funny[/code]


Both of them can be parsed correctly.rexrainbow2011-11-18 13:51:05
B
97
S
22
G
176
Posts: 4,108
Reputation: 103,019

Next

Return to Completed Addons

Who is online

Users browsing this forum: NRABrazil and 1 guest