# I want to remove one \] from string

**URL:** <https://discourse.nodered.org/t/i-want-to-remove-one-from-string/58692>\
**Category:** General\
**Tags:** function-node\
**Created:** [20 February 2022 13:22 UTC](https://discourse.nodered.org/t/i-want-to-remove-one-from-string/58692 "2022-02-20T13:22:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vaibhavnaware01](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/vaibhavnaware01/32/56984_2.png) [@vaibhavnaware01](https://discourse.nodered.org/u/vaibhavnaware01)\
**Post date:** [20 February 2022 13:22 UTC](https://discourse.nodered.org/t/i-want-to-remove-one-from-string/58692/1 "2022-02-20T13:22:14Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/2/92b04ed8023129a677de578a1f4405d78ee24882.png)  
how to remove last bracket in nodered?

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [20 February 2022 13:25 UTC](https://discourse.nodered.org/t/i-want-to-remove-one-from-string/58692/2 "2022-02-20T13:25:45Z")

</div>

What does the original string look like? There may be a better way to handle the whole string rather than just solve this one last bit.

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [20 February 2022 13:26 UTC](https://discourse.nodered.org/t/i-want-to-remove-one-from-string/58692/3 "2022-02-20T13:26:58Z")

</div>

And also where did the original string come from as you may be able to get a different output. i.e an array

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [21 April 2022 13:27 UTC](https://discourse.nodered.org/t/i-want-to-remove-one-from-string/58692/4 "2022-04-21T13:27:27Z")

</div>

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