fork download
  1. <?php
  2.  
  3.  
  4. $nome = 'joao.silvestre';
  5.  
  6. echo $nome[0].substr(explode('.', $nome)[1], 0, 7);
Success #stdin #stdout 0.01s 52488KB
stdin
Standard input is empty
stdout
jsilvest