Input:
List(1)
{
“20636Invoice.pdf;AC20636;15.02.2024;903,10;150.52;Invoice;UKTruckRepairsLtd;REN001;GB37WARR;8083095”
}
How to get count value of input list i.e – 9
Hi,
How abut the following expression? (Isn’t it 10?)
yourList.SelectMany(Function(s) s.Split(";"c)).Count
Regards,
1 Like
Yeah. Sorry. Its 10!
Try this:
inputList = New List(Of String) From {"20636Invoice.pdf;AC20636;15.02.2024;903,10;150.52;Invoice;UKTruckRepairsLtd;REN001;GB37WARR;8083095"}
count = inputList(0).Split(";"c).Count
Hope it helps!!
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.