B
B
bamond2014-05-14 21:25:01
Android
bamond, 2014-05-14 21:25:01

How to parse a price from a file?

Good afternoon. Please tell me how and with what to parse a file (for example, excel) containing N rows and 2 columns ( name and price ).
In principle, I can put the price in any file (as it is easier to do this). But there will always be a kind of price list, for example, this:
Pants
500r Long pants 600r
, etc.
And it’s better to store this whole thing in sqlite too, apparently, before outputting to the necessary activity ... I still have to figure out how =)
I don’t really understand how to start solving this issue, maybe you can suggest a good article on this topic or share examples, experiences.
Thank you very much.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Andrew, 2014-05-15
@OLS

Try the .CSV format (everything transforms well into it from Excel)

B
bamond, 2014-05-15
@bamond

The choice of format is a secondary issue and left solely to the choice of others.
The main question is HOW to parse ;)

C
CloudMonster, 2014-05-17
@CloudMonster

XLS -> CSV -> SQLite

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question