How to get data from csv file as variable? Help please.

titsky

New member
What i am still figuring out is on how to get the data from the first line of csv file and use it as a variable and at the same time deleting that line of data from the csv file.
 

Jacob L

Moderator (Lawsonator)
In shell script action:
cat /storage/emulated/0/file.csv
Tick no root and use helper + tick store output in variable.

Then if you need to get only the first line you could use text manipulation action > extract.

Then in a new shell script action: echo '[v=variable]' > /storage/emulated/0/file.csv
 
Top