[Tutor] FW: Splitting a number into even- and odd- numbered digits

2006-04-20 Thread Carroll, Barry
Greetings: First of all, thanks to those who contributed suggestions. Unfortunately, my description was incomplete. I am writing a function that accepts a string of decimal digits, calculates a checksum and returns it as a single character string. The first step in the calculation is to

Re: [Tutor] FW: Splitting a number into even- and odd- numbered digits

2006-04-20 Thread Terry Carroll
On Thu, 20 Apr 2006, Carroll, Barry wrote: The first step in the calculation is to split the input into two strings: the even- and odd- numbered digits, respectively. The least significant digit is defined as odd. I forgot to include two important requirements: 1. the length