aperturescience | Portal End Credits in HTML/JS/CSS | Animation library
kandi X-RAY | aperturescience Summary
kandi X-RAY | aperturescience Summary
Portal End Credits in HTML/JS/CSS
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of aperturescience
aperturescience Key Features
aperturescience Examples and Code Snippets
Community Discussions
Trending Discussions on aperturescience
QUESTION
I'm currently struggling to separate a string into two while using a white space as the base of the split.
I'm writing a program where a person is supposed to input their first and last name as a string. Then the program should take the first three letters out of the first name and first three letters out of the last name. Put these together and append them to a domain name creating an email. Such as Firstname Lastname becomes firlas@example.com. I know I could easily solve the problem by just using two inputs, but I want it to be only one input.
...ANSWER
Answered 2020-Feb-20 at 22:04You can use str.split()
like so:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install aperturescience
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page