Hi All,
Let say there is string ABBA, i want to find the count of Palindrome string.
How to achieve it?
Hi All,
Let say there is string ABBA, i want to find the count of Palindrome string.
How to achieve it?
Have you tried this
String Variable.Length
Regards
Gokul
You mean want to find out the length of the string ?
i want to find the repeated count of substring like how many A and How many B are there.
or is it something wrong i am trying to achieve?
something like a complete character, count statistic? like
BurggruB
B:2
u:2
r:2
g:2
or a quick one like
YourString.Length / 2 , when length is even
YourString.Length / 2 - 1 , when length is odd due central char is mirror point
@Rakesh_Tiwari
"Reliefpfeiler".toUpper.GroupBy(Function (x) x).ToDictionary(Function (x) x(0), Function (x) x.Count)
"Reliefpfeiler".toUpper.GroupBy(Function (x) x).ToDictionary(Function (x) x(0).toString, Function (x) x.Count)
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.