@GaG Thank you for your help. Till now i found my way to manage easy csv tasks , since csv files are just text with comma for change column, and new lines for change row i can deal this on BAS by creating lists from "Read File to List" and then i can break each list item from "Parse string" with comma as separator. Then i use "Write File" for saving and i can live visualize the edited results on the csv file with a program called "Modern CSV". Thing is that on more advanced scripts i have big CSV files with a lots of rows and columns , sometimes i must to constant return to BAS the index position of partial value search terms on those files. I have found also an alternative way to manage by creating and executing a bat file with call for python for converting csv to xlsx and then i may use "module Excel" that haves all the actions im looking for, but Im wondering why BAS haves those actions only for xslx files, why not for csv also? Anyways till now im very satisfied to BAS but i might need more help in the future on this matter.
Choosing random line from text file each time
-
When using lines from a text file, how can you make it use a random line everytime instead of starting from the top of the list?
thx -
-
thanks man, don't really understand the link you've sent. Is there not just an option in BAS, how can I implement RAND?
-
@juniperberry There is an instruction for BAS how to get a random string from a file using the command line.(fast and low computer resource usage)
Resource random:
https://community.bablosoft.com/topic/4033/проверить-существование-в-ресурсе-удаление-по-значению/20
https://community.bablosoft.com/topic/10194/sf_modulList random:

-
@killbill said in Choosing random line from text file each time:
How to I get random string text [[username]] = rand("name1", "name2", "name3"). Please help.
