Hi Todd,

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

Argh, that's worse than making everything a variant :-(

> Here's a kludgy fix though...
>
> first_name = current_user(0)
> last_name = current_user(1)
> 
> first_name = left(first_name, 1) & right(first_name, (len(first_name)-1))
> last_name = left(last_name, 1) & right(last_name, (len(last_name)-1))

I don't think I get this... assume first_name = "jon":

- left(first_name, 1) = "j"
- right(first_name, (len(first_name)-1)) = "on"
- "converted" first_name = "jon" 

How about

first_name = chr(asc(left(first_name, 1))-32) &_
             right(first_name, len(first_name)-1)

(you signify a line wrap with "&_", right?)

Cheers
Jon

____ • 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