ABC

I took a name “APPLE” then i want character count to display as A is 1, P is 2, L is 1, E is 1 and not to display P is 2 as two times.

Hi,

Hope the following sample helps you.

dict = yourString.GroupBy(Function(c) c).ToDictionary(Function(g) g.Key,Function(g) g.Count)

Sequence.xaml (6.9 KB)

Regards,

It works, Thank you :slight_smile:

1 Like