-1
I have a List<string>
with four items:
C:\Users\Producao\OneDrive\VisualStudio2017\siteRelatorios\bpa\Content\Upload\LFCES004.txtb9109712-d3f2-4151-bbac-7fbc82ed99de
C:\Users\Producao\OneDrive\VisualStudio2017\siteRelatorios\bpa\Content\Upload\LFCES018.txteeba927c-47c9-41ff-9643-4a0556244b26
C:\Users\Producao\OneDrive\VisualStudio2017\siteRelatorios\bpa\Content\Upload\LFCES021.txt84a0effb-a3a3-4790-a8e4-62d80e23b0ad
C:\Users\Producao\OneDrive\VisualStudio2017\siteRelatorios\bpa\Content\Upload\LFCES037.txta1189537-b589-4161-9ce6-f62b2aecbab9
Every line in this is a file .txt
I want to know what line has the word LFCES004
, LFCES018
, LFCES021
and LFCES037
Ex.: if (linha1 contém 'LFCES004')
Guy only use . Contains(value)
– Matheus Miranda
I did not understand the negative votes or the closing vote for the question "not being clear enough". I think a proof of text interpretation should be a prerequisite for giving that kind of closing vote
– Oralista de Sistemas
I also didn’t understand @Renan, but do what right?
– Italo Rodrigo
It was pretty obvious that a simple question like that would already have several answers, and it has even more.
– Maniero
is that I searched for one string inside another, I did not search by comparing strings, since my thinking was not that
– Italo Rodrigo