Clever.
Not that I've needed strings for much insofar, but I hadn't thought of that
approach.

Thanks Andy


On Tue, May 14, 2013 at 3:13 AM, Andy Nicholas <[email protected]>wrote:

>  You can do it without a loop, but you have to specify a character that
> you know
> will never be in the string whose length you're testing.
>
> See attached image. Pretty sure it works for all cases.
>
> A
>
>
>

Reply via email to