filesystem? forse fra le funzioni delle stringhe...
http://it2.php.net/manual/it/ref.strings.php
Cmq non penso che ci sia un'unica funzione...
Con strstr fai:
echo strstr('user@example.com', '@'); // prints @example.com
Poi anche se non sarebbe correttissima si potrebbe usare anche basename....penso che funzioni...
echo basename('@example.com','.com'); // prints @example
![]()
![]()