A set of functions to extract numbers from strings

The sniffnums in a_few_string_functions doesn't work well, so I added a
few functions here. Based on slicing and also on counting and adding.