I have a question about "replace listitem list"!
My problem is the following and I hope I can explain it clearly:
I have a list in text format in which the individual data in the string is separated by this delimiter " , ". The saved list looks something like this:
1, 2, 3, 4, 5, 6, .... \n
1, 2, 3, 4, 5, 6, ... \n
This data is then output in a list using "ColinTreeListView". Everything works so far. Now I want to edit the data and then save the edited data in the same place. I do this with "replace listitem list". Which works so far, ONLY!!! When saving to the corresponding index location, an additional delimiter “ , ” is automatically inserted at the end of the string after the “\n”, which causes the subsequent data series to shift by one position so that the table then looks something like this
1, 2, 3, 4, 5, 6, ….
, 1, 2, 3, 4, 5, 6, …
My question now is how I can remove this delimiter or why it is inserted?
Here my blocks witch I use:
For example, I want to change the, "2" to an "A" and "3" to a "Z", in the first row. Changing it also works perfectly. Just as written, a delimiter "," is always inserted at the end of the string after the "\n", which means that the following line in the table output is shifted one position to the right.
You can also say that I just want to replace the entire string with a new one
@TIMAI2: I use a csv table list and as far as I can follow your "blocks" I do it exactly like you.
I have an input mask where I enter data. These are saved in the csv list. It looks to me like your “baseList”. I can then output this list perfectly in a ListView. So up to this point everything is fine.
If I now select an element from the list, individual text boxes are then filled with the respective data and I can make my changes. Everything is ok here too. After I have changed the desired text box or all text boxes, I would like to save this data back to the "old place", just changed accordingly. This also works so far.
Only now an additional delimiter "," is inserted at the end of the changed data to be saved, after the "\n", which was not there before and I dont wanting this. So my question is where does it come from or why is it included?
Here is a screenshot from the file before and afther changeing: