Hello,
Is there a way to create a custom sorting functions that compares two strings in UiPath ?
Thank you
Hello,
Is there a way to create a custom sorting functions that compares two strings in UiPath ?
Thank you
It probably is, although Iām not really sure what you mean by ācustom sorting function that compares stringsā.
Whatās the intended purpose?
Either way these should help:
Thatās too complicated.
Itās easier to use the code activity or simply assign activity: bool res = string1 > string2
I would like to create a new comparator.
Say, I would like to teach UIPath that for instance āObeeā > ābaditaā and ābaditaā > āandrzej.kniolaā, etc.
,
Then you need to create a custom implementation of IComparer<string> and import it.
See this as example.