Hello.
I need to use this code in asp to work in php.
I just can't figure it out alone.
Can anybody help me, please?
Thank you.Code:posicaoHead = InStr(1, linha, "Te")
linha = Right(linha, Len(linha) - posicaoHead - 1)
Printable View
Hello.
I need to use this code in asp to work in php.
I just can't figure it out alone.
Can anybody help me, please?
Thank you.Code:posicaoHead = InStr(1, linha, "Te")
linha = Right(linha, Len(linha) - posicaoHead - 1)
PHP Code:$posicaoHead = strpos($linha, 'Te');
$linha = substr($linha, -(strlen($linha) - $posicaoHead - 1));