Declare and initialize 2-d array in uipath

Hello,

I’m trying to initialise 2 dimensional array in UiPath with linq query : - Enumerable.Repeat(New Integer(int_Len2){},int_Len1+1).toArray

But the results yield after 2-d array creation are incorrect.

Need help on the same

Hi,

It should be not int32 2d array but array of Array of Int32 (jagged array)
Can you try as the following?

Regards,

Prototyping your start:
grafik

But still recommended to checkout what was mentioned by Yoichi

Has anyone created workflow for Levenshtein distance calculation ? I’m trying to convert the code at below link into workflow :-

Lets get scoped 1 topic = 1 Use case
Others researchers can easier find solutions for their similiar case

So when the Array init question IS answered, you can Mark the solving Post as solution

Hi,
for Levenshtein distance calculation you can go to manage package and install UiPathTeam.String.Activities
There is a single activity which will give you a percentage of string matching.

Regards,
Namrata