mp312 wrote: >I have a script that I need to do the following: > >Taking a user id that is in the format 'userid at MACAddress', read the >userid portion (varying length) and concatenate with @honigman.com. > > > import string x = string.split('userid at macaddress','@')[0]+'@honigman.com'