Example, we received a login this way
joao.silvestre
And I want to get the string with the following rule:
The first letter of the name + the 7 letters that comes after the point that separates the name of the last name, for example:
jsilvest
How do I capture this string by following the above rules in PHP?