Name1|Name2|Name3|Name4|Name5
abc 1 |abc2|abc3|abc4|abc5
pqr1 |pqr2|par3|pqr4|pqr5
lmn1|lmn2|lmn3|lmn4|lmn5
this my excel data and i want remove | and split data into columns
Name1|Name2|Name3|Name4|Name5
abc 1 |abc2|abc3|abc4|abc5
pqr1 |pqr2|par3|pqr4|pqr5
lmn1|lmn2|lmn3|lmn4|lmn5
this my excel data and i want remove | and split data into columns
Try with Regex expression
Use Assign activity
StrInput = System.Text.RegularExpressions.Regex.Replace(YourString.Trim,"\|","").Tostring.Trim
Use Generate Data table activity
Input => StrInput
Output → Create a new variable in the Output (DtOutput)
Regards
Gokul
StrInput = System.Text.RegularExpressions.Regex.Replace(YourString.Trim,“|”,“”).Tostring.Trim
can u tell mi which string i have to pass in YourString
Hey @Yogita_Gaikwad,
Have a look on the attached xaml.
DataTableManipulation.xaml (15.3 KB)
Thanks,
Sanjit