Hello,
I have an external text file. A part of the text file (example) is shown below:
/AA/BB/CCDRL=1DRL=2DRL=4/XX/YY/ZZ
How can I :
-Obtain the number of lines starting with "DRL" and save it to the variable pnumber. In this case pnumber=3
-save the value of those variables in the vector A, in my example A =[1;2;4]
I thank you in advance for any help,
Best regards,
Hugo
Best Answer