|
Subject:
|
Only the first character
|
|
Posted By:
|
jroxit
|
Post Date:
|
1/23/2006 11:11:57 AM
|
Hi,
We have an employee database. I'm looking for a way to strip off all the employee's ID numbers, except for the first one (which is the location of the employee.)
For example: my employee number is 14482991. The "1" signifies that I'm at corporate HQ. I need to be able to make a little program that displays a certain message if the first number is 1 or 5.
Thanks!
|
|
Reply By:
|
lucian
|
Reply Date:
|
1/23/2006 2:41:36 PM
|
key = "123456789" response.write left(key,1)
|
|