# Bluetooth (BLE)

**URL:** https://community.thunkable.com/t/bluetooth-ble/2224920
**Category:** BLE / BlueTooth
**Tags:** design, beginner, help
**Created:** [January 16, 2023, 3:13pm UTC](https://community.thunkable.com/t/bluetooth-ble/2224920 "2023-01-16T15:13:41Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![supercoolcoder](https://avatars.discourse-cdn.com/v4/letter/s/e19adc/32.png) [@supercoolcoder](https://community.thunkable.com/u/supercoolcoder)
#### Post date: [January 16, 2023, 3:13pm UTC](https://community.thunkable.com/t/bluetooth-ble/2224920/1 "2023-01-16T15:13:41Z")

</div>

When I use the list viewer to get my scanned items, there is always many empty slots between each item. How do I solve this?

---

<div class="post-metadata">

### Author: ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)
#### Post date: [January 16, 2023, 3:45pm UTC](https://community.thunkable.com/t/bluetooth-ble/2224920/2 "2023-01-16T15:45:49Z")

</div>

You can use the `replace all` Text block to replace [newline] with an empty string (“”):

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/f/3fe3c09055241a4b147ddb9bf71449fc988c8f8f.png)

If you need help with that, post a screenshot of the blocks you’re using to get scanned items.

---

<div class="post-metadata">

### Author: ![supercoolcoder](https://avatars.discourse-cdn.com/v4/letter/s/e19adc/32.png) [@supercoolcoder](https://community.thunkable.com/u/supercoolcoder)
#### Post date: [January 16, 2023, 7:04pm UTC](https://community.thunkable.com/t/bluetooth-ble/2224920/3 "2023-01-16T19:04:52Z")

</div>

I did that, but then, say the device name was ‘esp32’, the layout will be like the following:

e  
s  
p  
3  
2

---

<div class="post-metadata">

### Author: ![supercoolcoder](https://avatars.discourse-cdn.com/v4/letter/s/e19adc/32.png) [@supercoolcoder](https://community.thunkable.com/u/supercoolcoder)
#### Post date: [January 16, 2023, 7:25pm UTC](https://community.thunkable.com/t/bluetooth-ble/2224920/4 "2023-01-16T19:25:46Z")

</div>

Solved. I used the following code:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/4/84867e10223e11937c2ec6b7259c83bbbcd35700.png)

---

<div class="post-metadata">

### Author: ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)
#### Post date: [January 16, 2023, 7:36pm UTC](https://community.thunkable.com/t/bluetooth-ble/2224920/5 "2023-01-16T19:36:06Z")

</div>

Do you mind sharing the solution so other people who read this topic later will know?

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [November 8, 2024, 1:37pm UTC](https://community.thunkable.com/t/bluetooth-ble/2224920/6 "2024-11-08T13:37:11Z")

</div>


