Question: in JAVA What I want is to determine the string between the period and the @ symbol and make it into a new string. For
in JAVA
What I want is to determine the string between the period and the "@" symbol and make it into a new string.
For example:
Input: 1.example@fakemail.com
Input: s.string410@fakemail.com
Results: example
Results: string410
I want this to work for any input. Please do not use anything super complex.
I would like to see this use .split(), substrings if possible/ variety of ways you may have.
If I have a comment please be able to respond.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
