Write a program to decide if a string is a palindrome or not.
Is the following string a palindrome?
1 |
|
Write a function that returns number of times a substring occurs in a string.
In the string below how many times does the string "EAT" occur?
1 |
|
Given an ASCII string, find the sum of all the numeric characters in the string. For example, for 'abc1234z' the sum of all numeric characters is . What is the sum of all the numeric characters in the string below?
1 |
|