firas
(Firas Abussaud)
November 7, 2022, 5:06pm
1
Hello All,
I am working on an automation and i have a question that seems to be easy but i could not figure out how to do it.
I have a table that has one cell with multiple lines and i need to extract only the last line. this cell changes everyday and the number of lines is not constant.
I am using StudioX
Hi @firas try with
datatablevar.asenumerable.last()
firas
(Firas Abussaud)
November 7, 2022, 5:44pm
3
Thank you for your prompt reply.
i tried it as below but it did not work; what is wrong in my work?
in what to write field just write
stirng.join(“”,LastRowValue)
firas
(Firas Abussaud)
November 7, 2022, 5:50pm
5
thank you again…
now i am getting this message
Could you send me the workflow…?
firas
(Firas Abussaud)
November 7, 2022, 5:55pm
7
Sure!
Here we go
TestingLastLine.zip (191.8 KB)
TestingLastLine.zip (62.4 KB)
Here I am using regex because of your sentences are in single cell. not in rows.
firas
(Firas Abussaud)
November 7, 2022, 7:00pm
9
wonderful!!
Thank you so much…this is what i wanted but how can i include even the first part of the line that shows the time?
20:00: Work was done
now it is only saving: Work was done
Okay try this:
TestingLastLine.zip (62.4 KB)
1 Like
system
(system)
Closed
November 11, 2022, 12:05pm
12
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.