From: Leslie Viljoen Date: 2008-02-05T22:25:20+09:00 Subject: Re: got any good string exercises? On Feb 5, 2008 3:14 PM, Adam Akhtar wrote: > > > sorry when i said that was quite difficult ignore that. Its actually the > right level of difficulty and am willing to go higher as long as the > problems remain focussed on string use. Count the number of non-capitals in a string. Assume the string is digits and put commas in for pretty printing: "1000" -> "1000" "10000" -> "10000" "100000" -> "100,000" "1000000000" -> "1000,000,000"