Hi all,
I'd like to know if there's a way to clear a StringBuilder which is in the Text extension.
Thanks.
Hi @Kay SmithFollowing link might help you https://www.outsystems.com/forums/discussion/72713/clear-input-field-to-empty-string/Regards,
Asad
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.
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