Newbie question

M

mp312

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.

Suggestions?

Thanks.
 
P

Peter Maas

mp312 said:
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.

mac_user_id.split('@')[0] + '@honigman.com'

Mit freundlichen Gruessen,

Peter Maas
 

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