# \[APP\]\[Pro\] Better Logic Library - For Users

**URL:** <https://community.homey.app/t/app-pro-better-logic-library-for-users/71876>\
**Category:** Apps\
**Tags:** app, tools, homey-pro, logic, bll\
**Created:** [November 7, 2022, 10:13pm UTC](https://community.homey.app/t/app-pro-better-logic-library-for-users/71876 "2022-11-07T22:13:40Z")\
**Posts on this page:** 1\
**Showing post:** 102

<div class="post-metadata">

**Author:** ![Rrrr](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rrrr/32/629_2.png) [@Rrrr](https://community.homey.app/u/Rrrr)\
**Post date:** [October 4, 2023, 1:33pm UTC](https://community.homey.app/t/app-pro-better-logic-library-for-users/71876/102 "2023-10-04T13:33:39Z")

</div>

@Arie_J_Godschalk

Currently Telegram does not pas STAR \* or UNDERSCORE \_ or BRACKET [.  
To pass all characters I would like to know how I can best do a text replace in a string or text variable.

1. Replace all STAR \* with \*
2. Replace all UNDERSCORE \_ with \_
3. Replace all BRACKET [ with \[

**Example Telegram notification**  
Error: \_app\_not\_valid; The multiplication of 1000 \* number does not work, try again. The temperature is now 11,2 °C. {flow #APP\_Test} [end of message]

Option BLL Expression  
I could not find it.

Option BLL Library  
I refer to the solution proposed by @Patric_Hedin in this [thread](https://community.homey.app/t/app-pro-homesh-controller-homesh-satellite-connect-homey-pro-2023-to-homey-pro-for-led-speaker-zwave-satellite-and-network-resource/70369/263).  
It does not apply to my Telegram requirement, but maybe it shows the way.

Option HomeyScript  
I am not sure this is the right way. Will HS allow me to pass any length of string with many different characters, edit it and then output it? Maintaining a HomeyScript for this seems tedious.

---

_[View the full topic](https://community.homey.app/t/app-pro-better-logic-library-for-users/71876)._
