1
I need to take a certain number that is inside a string (in case the return of a select
). In the table is saved like this:
CreditCash_Aderencia_AD_20180823;20180823;Arquivo convertido para CSV com 503 linhas
CreditCash_Aderencia_20180823;20180823;Arquivo convertido para CSV com 1399 linhas
CreditCash_Aderencia;20180823;Não foi possível executar o sistema em 3 tentativas
CreditCash_Aderencia_AD_20180822;20180822;Arquivo convertido para CSV com 500 linhas
In this string I need to get only the number that is before linhas
, in the case of 503 for example (which can be variable).
I need that number 'cause I’m gonna put it in a update
to make changes only to those that have more than 500 converted lines.
I swore PHP was there, kkkkkkk. My answer was wrong
– Wallace Maxters
which database you are using?
– Ricardo Pontual