String builder


#1

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


#2

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


#3

Thanks @arivu96!
It worked.


#4

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


#5

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

Thanks and regards,
Ananthu