Good I am trying to do one thing, I explain myself: Of a variable type text with several lines I want to extract in another variable the line that contains something
I've tried it in the following way:
$reporte strrpos(substr('$TextoGrande', -1, 0),'texto a buscar');
but it does not work for me, any suggestions? By the way, I have this line, in case it works:
$TextoGrande = trim($Todo);
let's say that what I want is to put in the report variable all the complete lines that match the text to be searched
Thanks