Dim sData Dim sFName Dim sLName sData = Split(current_user,".") sFName = sData(0) sLName = sData(1) sFName = Replace(sFName,sFName,"Casey") sLName = Replace(sLName ,sLName ,"Crookston")
-----Original Message----- From: Casey Crookston [mailto:[EMAIL PROTECTED]] Sent: Friday, December 20, 2002 10:44 AM To: [EMAIL PROTECTED] Subject: [wdvltalk] Spliting Adoms, or in our case variables Okay, I know this stuff is possible in ASP, but I've never nailed down how it's done. On our Intranet I'm able to glean the name of the user with "current_user = Request.ServerVariables("LOGON_USER")" But the result looks like this: casey.crookston Question: How would I split this into two variables, fname and lname. And, is it possible to convert "casey" into "Casey" and "crookston" into "Crookston"? TIA, Casey ____ * 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]