Newbie Question

P

Puchalski, Mark

I have a script that I need to do the following:

Taking a user id that is in the format 'userid@MACAddress'
<mailto:'userid@MACAddress'> , read the userid portion (varying length)
and concatenate with @honigman.com. I'm not sure how to make this
happen.

Suggestions?

Thanks.

------------------------------------------------------------------------
------
Mark A. Puchalski
Network Engineer
Honigman Miller Schwartz and Cohn LLP

Tel 313.465.7167
Fax 313.465.8267


*********************************************************************
Confidential: This electronic message and all contents
contain information from the law firm of Honigman Miller
Schwartz and Cohn LLP which may be privileged,
confidential or otherwise protected from disclosure.
The information is intended to be for the addressee
only. If you are not the addressee, any disclosure, copy,
distribution or use of the contents of this message is
prohibited. If you have received this electronic message
in error, please notify us immediately (313.465.7000)
and destroy the original message and all copies.
*********************************************************************
 
L

Larry Bates

t="userid@MACAddress"
userid=t.split("@")[0]+"@honigman.com"

Larry Bates
Syscon, Inc.

I have a script that I need to do the following:

Taking a user id that is in the format 'userid@MACAddress', read the userid portion (varying length) and concatenate with @honigman.com. I'm not sure how to make this happen.

Suggestions?

Thanks.

------------------------------------------------------------------------------
Mark A. Puchalski
Network Engineer
Honigman Miller Schwartz and Cohn LLP

Tel 313.465.7167
Fax 313.465.8267

*********************************************************************
Confidential: This electronic message and all contents
contain information from the law firm of Honigman Miller
Schwartz and Cohn LLP which may be privileged,
confidential or otherwise protected from disclosure.
The information is intended to be for the addressee
only. If you are not the addressee, any disclosure, copy,
distribution or use of the contents of this message is
prohibited. If you have received this electronic message
in error, please notify us immediately (313.465.7000)
and destroy the original message and all copies.
*********************************************************************
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,200
Messages
2,571,046
Members
47,646
Latest member
xayaci5906

Latest Threads

Top