35
Views
3
Comments
Clear StringBuilder
Question
Application Type
Reactive

Hi all,

I'd like to know if there's a way to clear a StringBuilder which is in the Text extension.


Thanks.


2023-03-31 06-39-46
Asad Sheikh
2019-09-30 07-35-56
Aurelio Junior

Hello,

The Text extension doesn't have an action to clear the string builder. What you could do is call the "Create" action again to get a new, "clean" string builder.

You could also clone the Text extension and add an action wrapping the "StringBuilder.Clear()" method.

2020-01-08 12-23-57
Jitender Gaur

Hi @Kay Smith,

There are only method are provided into Text extension by OutSystems. To start new string builder, you need to drag & drop new StringBuilder_Create method into your flow and it will create new object for new capacity. 


  


After then you can use that new object with new StringBuilder_ToString object to build the new string.


Thanks  

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.