Skip to content
This repository has been archived by the owner on Aug 4, 2020. It is now read-only.

getString returns date too #10

Open
DefProc opened this issue Jun 19, 2013 · 2 comments
Open

getString returns date too #10

DefProc opened this issue Jun 19, 2013 · 2 comments

Comments

@DefProc
Copy link

DefProc commented Jun 19, 2013

String returnString = feed[0].getString(); where feed is a XivelyFeed should return the string value of the referenced datastream. Instead, it returns a string that contains both the date and string parts of the CSV datapoint.

e.g.: 2013-04-23T00:40:34.032979Z,value

@amcewen
Copy link
Contributor

amcewen commented Nov 25, 2013

Haven't spent lots of time trying to recreate this, but did try the getString stuff yesterday and didn't see this. That was after I'd tweaked the library in that area though, so it's possible (if not obvious) that it was fixed there. (see mcqn@a22b91d for details of the change)

@DefProc
Copy link
Author

DefProc commented Nov 25, 2013

Hmmm… I can't remember what I was doing at the time. I think I did work around it by searching for the comma and continuing from there. I did get the original result with the xively example code.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants