Skip to Content
0
Former Member
May 29, 2007 at 07:04 AM

Regarding Logic for below statements

10 Views

Hi,

What can be the logic for 2nd statement below:

1. Capture the user entered zip code in to a variable

2. Check the Variable[Code] if it is not 10 digits then

convert it into format ZZZZZ-XXXX by padding it with zeros.

EX: if user enters only 65549 convert it to 65549-0000

Thanks in advance.

Thanks,

Deep.