Hello,
I want the split string
Input:
main road, Bangalore, KT
main road, Hassan, KT
output:
Banglore, KT
Hassan, KT
Hello,
I want the split string
Input:
main road, Bangalore, KT
main road, Hassan, KT
output:
Banglore, KT
Hassan, KT
main road is not same some times it will different
some times i get Bangalore, KT
i did not understand @copy_writes
main road, banglore, KT
banglore, KT
main street, Hassan, KT
now how to extract

banglore is not select
we can use through split if its how
If KT will change what we will do
can you please try using Split I donβt no how to use that for that am asking please help me .
Can u try this @copy_writes
String.Join(Split(input,Environment.NewLine).Select(Function(r) String.Join(β,β,Split(r,β,β).Where(Function(e) Not e.ToString,Contains(βmainβ)))))
Just edited @copy_writes
Thank You very much it was simple
and thanks bro for try to give solution @NIVED_NAMBIAR @Pradeep_Shiv every time you both peoples are help me to come out from the solution
Always bro @copy_writes,
Happy learning