String builder

How to use stringbuilder method in uipath and how to initialize them?
Can anyone help me to do the same?

1 Like

Hi @Ananthu,

Create a variable String builder ->strbuilder
strbuilder=new StringBulder()

Use Invoke method activity
TargetObject =strbuilder
MethodName=Append

Properties
Pass IN argument as new string values to append.

For example
Refer this like this you need to do
image

Regards,
Arivu

1 Like

Thanks @arivu96!
It worked.

Hello everyone

Can someone tell me how to assign value to string builder variable.
in other words how to use StringBuilder.Append() method

Thanks in Advance
Prathap R

1 Like

Hi @prathapr,
I have attached a sample workflow.
StrBuilder.xaml (5.5 KB)

Thanks and regards,
Ananthu