Gary:
    I would do a Find on the string for the @ and then a Mid function that
starts at 1 and ends at the position returned from the find function.

Andrew Hewitt
Web Application Developer
webworld studios inc.

----- Original Message -----
From: "Gary McNeel, Jr." <[EMAIL PROTECTED]>
To: "Cf-Talk" <[EMAIL PROTECTED]>
Sent: Friday, August 11, 2000 7:06 PM
Subject: Working with a string...


> I have an email address sting that I need to manipulate.
>
> I need to just get the first part before the @ symbol and discard the rest
> (although knowing how to grab it might be useful too). Is the only way to
do
> a regular expression?
>
> Ex. [EMAIL PROTECTED] would become gmcneel (maybe in a variable).
>
> TIA
>
> Gary McNeel, Jr.
> Project Manager - DAC-Net, Research & Graduate Studies
> Rice University - Houston
> [Lovett Hall] 713-348-6266 (Primary)
> [DAC] 713-348-5184
> [M] 713-962-0885
> [H] 713-723-9240
> http://dacnet.rice.edu/DAC-Net/Staff/Gary/
>
> "Great spirits have always encountered violent opposition from mediocre
> minds."
>    -Albert Einstein
>
> --------------------------------------------------------------------------
----
> Archives: http://www.mail-archive.com/[email protected]/
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
>

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to