Hi All.
i have a simple question.
I m using this tutorial to get a sms and read this.
https://www.b4x.com/android/forum/t...cepting-sms-messages-in-the-background.20103/
the result is like this
how can i get only the code of a string?
this is a sequence of 6 numbers, It will never change, there will always be 6 numbers in sequence.
but the text can change, where is "Código de Verificação:", Probably this phrase will be changed.
How can I get the sequence of 6 numbers independently if the "Código de Verificação:" text changes or not?
substring2 will not work here if the text "Código de Verificação:" changes
thx all
i have a simple question.
I m using this tutorial to get a sms and read this.
https://www.b4x.com/android/forum/t...cepting-sms-messages-in-the-background.20103/
the result is like this
[Address=28908, Body=Código de Verificação: 204797, IsInitialized=false]
how can i get only the code of a string?
this is a sequence of 6 numbers, It will never change, there will always be 6 numbers in sequence.
but the text can change, where is "Código de Verificação:", Probably this phrase will be changed.
How can I get the sequence of 6 numbers independently if the "Código de Verificação:" text changes or not?
substring2 will not work here if the text "Código de Verificação:" changes
thx all