Casey,

Whoops. Forgot the UCASE part...

Here.

first_name = current_user(0)
last_name = current_user(1)

first_name = UCASE(left(first_name, 1)) & right(first_name, (len(first_name)-1))
last_name = UCASE(left(last_name, 1)) & right(last_name, (len(last_name)-1))

-----Original Message-----
From: Linden, Todd [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 20, 2002 9:53 AM
To: [EMAIL PROTECTED]
Subject: [wdvltalk] RE: Spliting Adoms, or in our case variables


Jon,

Close but I don't think VBScript has strconv...
>fname = strconv(fname, vbpropercase)
>lname = strconv(lname, vbpropercase)

Here's a kludgy fix though...


first_name = current_user(0)
last_name = current_user(1)

first_name = UCASE(left(first_name, 1)) & right(first_name, (len(first_name)-1))
last_name = UCASE(left(last_name, 1)) & right(last_name, (len(last_name)-1))

 - Todd

____ * The WDVL Discussion List from WDVL.COM * ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
       Send Your Posts To: [EMAIL PROTECTED]
To change subscription settings to the wdvltalk digest version:
    http://wdvl.internet.com/WDVL/Forum/#sub

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to %%email.unsub%%

____ • The WDVL Discussion List from WDVL.COM • ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED]
       Send Your Posts To: [EMAIL PROTECTED]
To change subscription settings to the wdvltalk digest version:
    http://wdvl.internet.com/WDVL/Forum/#sub

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: archive@jab.org
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to