I’ve been struggling for a few days with a small problem.
I would like to retrieve each line of text and save them in different variables.
Here’s an example:
Here is a variable global_Text which contains this
70001
001-HALLN°3
VELOZAFY ELODIE NINA
715 052 018 613
BOUCHERIE PORC
A
2001650314
47213 70 2014 0 00178
my goal is to record each line of the variables like this:
Here’s a global_Text variable that contains this
70001 — put in a variable L1
001-HALLN°3 — put in a variable L2
VELOZAFY ELODIE NINA — put in a variable L3
715 052 018 613 — add to variable L3
BOUCHERIE PORC— add to variable L4
A — add to variable L5
2001650314 — add to variable L6
47213 70 2014 0 00178 — add to variable L7
Thank you for your reply .
At the beginning the retrieved value was 70001//001-HALLN°3//VELOZAFY ELODIE NINA//715 052 018 613//BOUCHERIE PORC//A//2001650314//47213 70 2014 0 00178 and I replaced // by \n .
My goal is to 'record the values 70001,001-HALLN°3,VELOZAFY ELODIE NINA,… which are separated by // in different variables.
So you can split at // and you will create a list where each items is the text you need . You can use the list or save each item in a new variables , I think you don’t need this second way, the list is all you need then you will manage the data as you like