Blog Rizauddin
And He found you lost and guided [you]. [93:7]
Pages
Home
Python
LaTeX
Linux
Windows
Travelog
About
Friday, October 3, 2014
Extract Initials from Names using Python
>>> name = "Rizauddin Saian"
>>> ' '.join([n[0] + "." for n in name.split()])
'R. S.'
No comments :
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments ( Atom )
No comments :
Post a Comment