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)


Go to topic 18357

Return to index page 387
Return to index page 386
Return to index page 385
Return to index page 384
Return to index page 383
Return to index page 382
Return to index page 381
Return to index page 380
Return to index page 379
Return to index page 378