Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python extract name out of mail

mail = "studentvn.studentfn@company.com"
name = mail.split("@")[0].replace("."," ")
# splits it at the @, grab the first part and replace the "." with a space
# you get "studentvn studentfn"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #extract #mail
ADD COMMENT
Topic
Name
5+8 =