Strings are basically "words in computers". As an ordered set of characters, these are the building blocks that allow us to do things from searching filesystems to decrypting ciphers.
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?
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 \(1 + 2 + 3 + 4 = 10\). What is the sum of all the numeric characters in the string below?