<?php $nome = 'Wallace Souza'; $partes = explode(' ', $nome); echo mb_substr($partes[0], 0, 1, 'UTF-8'); echo mb_substr($partes[1], 0, 1, 'UTF-8');
Standard input is empty
WS
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!