Hi,
Id like to split the string = "aabbccddee". .split function requires you to use some sort of separator. Any suggestion how to make it?
The main task is actually to count how many times the letters appear in a string. I believe the solution may be related to .map.
Any help appreciated.
Id like to split the string = "aabbccddee". .split function requires you to use some sort of separator. Any suggestion how to make it?
The main task is actually to count how many times the letters appear in a string. I believe the solution may be related to .map.
Any help appreciated.