Hey,
I have a txt file with NFC TAG data:
837463
736490
435565
....
I want to make sure that the ID is in the file after the NFC card is closed.
Result: true or false
He combines but I do not know how to do it.
Uses Init Variable Text File and ????
Please help.
thank you
FindAll(?) How use?
Moderator: Martin
Re: FindAll(?) How use?
Ok.
Expression:
indexOf(id, {s})=>0
id - text.file
s - NFC TAG
Expression:
indexOf(id, {s})=>0
id - text.file
s - NFC TAG
Re: FindAll(?) How use?
if you want to check some string inside another text, just use contains(). In your case, init text file first to {id}. Then your nfc is stored at {s}. Then use expression
This will return true if the nfc contains the string in the text.
Code: Select all
contains(id, s);
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Re: FindAll(?) How use?
Revelation.
Simple and easy to remember
Thanks Desmanto!
Simple and easy to remember
Thanks Desmanto!