Creating a list of element thats contains 'string' from another list

hi, really beginner here, just starting with this thunkable.

im using bluetooth scan and i would like to create a list with all the near devices. then parse it to create another list with all the ones that has a certain string in their name and finally only show them. how would i do it ?

here’s an image of what i’ve done so far

Hi ocorbo, welcome to Thunkable! :tada:

Be sure to check out How to ask Great Questions v2.0, the Community Guidelines, and our Getting Started Guide to make the best of your Thunkable Community experience!

As for your question, there are a few areas that need to be corrected.

You have “set app variable app variable BluetoohDevicesNameList” after your scan. There is a dedicated “set variable” block you should use instead. You might have to click on the dropdown and select the variable you want to set.

You need loop through the app variable BluetoothDevicesNameList and if “j” contains “pdstal”, then you do what you need to with “j” as it contains the name you are looking for.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.