Hello,
How can I filter only the rows that contain exactly 15 characters(in blue arrows) ???

ppr
(Peter Preuss)
2
Four Ways to Filter Data Tables in UiPath Studio | UiPath
Assign Activity
dtFiltered =
(From d in dtDataVar.AsEnumerable
Where d(0).toString.Trim.Length.Equals(15)
Select r = d).CopytoDataTable
handling empty result:
1 Like

“d” = Column name or ?
and “r” = ?
ppr
(Peter Preuss)
4
d / r a acting like local variables referencing the looped row
Shouldn’t the column name be specified somewhere?
ppr
(Peter Preuss)
6
we recommend to check if some courses e.g UiPath Academy will help for the basics
we used the access by column index and can use also column name.
(From d in dtDataVar.AsEnumerable
Where d("Column-0").toString.Trim.Length.Equals(15)
Select r = d).CopytoDataTable
1 Like
ppr
(Peter Preuss)
8
@radoslav.spasov
Perfect so the topic can be closed